Browse Source

build

master
dailer 6 years ago
parent
commit
40481e9d0d
  1. 5
      dist/2.0/fineui.ie.js
  2. 12
      dist/2.0/fineui.ie.min.js
  3. 5
      dist/2.0/fineui.js
  4. 6
      dist/2.0/fineui.min.js
  5. 5
      dist/base.js
  6. 5
      dist/bundle.ie.js
  7. 12
      dist/bundle.ie.min.js
  8. 5
      dist/bundle.js
  9. 6
      dist/bundle.min.js
  10. 5
      dist/fineui.ie.js
  11. 12
      dist/fineui.ie.min.js
  12. 5
      dist/fineui.js
  13. 6
      dist/fineui.min.js
  14. 5
      dist/fineui_without_jquery_polyfill.js
  15. 2
      dist/utils.min.js
  16. 5
      src/base/single/text.js

5
dist/2.0/fineui.ie.js vendored

@ -36149,9 +36149,10 @@ BI.Text = BI.inherit(BI.Single, {
this.text.element.html(BI.htmlEncode(this._getShowText())); this.text.element.html(BI.htmlEncode(this._getShowText()));
return; return;
} }
if (/&|\"|<|>|\\s/.test(text)) { if (/\s/.test(text)) {
this.text.element[0].textContent = BI.htmlEncode(this._getShowText()); this.text.element[0].innerHTML = BI.htmlEncode(this._getShowText());
} else { } else {
// textContent性能更好,并且原生防xss
this.text.element[0].textContent = this._getShowText(); this.text.element[0].textContent = this._getShowText();
} }
} }

12
dist/2.0/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

5
dist/2.0/fineui.js vendored

@ -36553,9 +36553,10 @@ BI.Text = BI.inherit(BI.Single, {
this.text.element.html(BI.htmlEncode(this._getShowText())); this.text.element.html(BI.htmlEncode(this._getShowText()));
return; return;
} }
if (/&|\"|<|>|\\s/.test(text)) { if (/\s/.test(text)) {
this.text.element[0].textContent = BI.htmlEncode(this._getShowText()); this.text.element[0].innerHTML = BI.htmlEncode(this._getShowText());
} else { } else {
// textContent性能更好,并且原生防xss
this.text.element[0].textContent = this._getShowText(); this.text.element[0].textContent = this._getShowText();
} }
} }

6
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

5
dist/base.js vendored

@ -660,9 +660,10 @@ BI.Text = BI.inherit(BI.Single, {
this.text.element.html(BI.htmlEncode(this._getShowText())); this.text.element.html(BI.htmlEncode(this._getShowText()));
return; return;
} }
if (/&|\"|<|>|\\s/.test(text)) { if (/\s/.test(text)) {
this.text.element[0].textContent = BI.htmlEncode(this._getShowText()); this.text.element[0].innerHTML = BI.htmlEncode(this._getShowText());
} else { } else {
// textContent性能更好,并且原生防xss
this.text.element[0].textContent = this._getShowText(); this.text.element[0].textContent = this._getShowText();
} }
} }

5
dist/bundle.ie.js vendored

@ -36149,9 +36149,10 @@ BI.Text = BI.inherit(BI.Single, {
this.text.element.html(BI.htmlEncode(this._getShowText())); this.text.element.html(BI.htmlEncode(this._getShowText()));
return; return;
} }
if (/&|\"|<|>|\\s/.test(text)) { if (/\s/.test(text)) {
this.text.element[0].textContent = BI.htmlEncode(this._getShowText()); this.text.element[0].innerHTML = BI.htmlEncode(this._getShowText());
} else { } else {
// textContent性能更好,并且原生防xss
this.text.element[0].textContent = this._getShowText(); this.text.element[0].textContent = this._getShowText();
} }
} }

12
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

5
dist/bundle.js vendored

@ -36553,9 +36553,10 @@ BI.Text = BI.inherit(BI.Single, {
this.text.element.html(BI.htmlEncode(this._getShowText())); this.text.element.html(BI.htmlEncode(this._getShowText()));
return; return;
} }
if (/&|\"|<|>|\\s/.test(text)) { if (/\s/.test(text)) {
this.text.element[0].textContent = BI.htmlEncode(this._getShowText()); this.text.element[0].innerHTML = BI.htmlEncode(this._getShowText());
} else { } else {
// textContent性能更好,并且原生防xss
this.text.element[0].textContent = this._getShowText(); this.text.element[0].textContent = this._getShowText();
} }
} }

6
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

5
dist/fineui.ie.js vendored

@ -36394,9 +36394,10 @@ BI.Text = BI.inherit(BI.Single, {
this.text.element.html(BI.htmlEncode(this._getShowText())); this.text.element.html(BI.htmlEncode(this._getShowText()));
return; return;
} }
if (/&|\"|<|>|\\s/.test(text)) { if (/\s/.test(text)) {
this.text.element[0].textContent = BI.htmlEncode(this._getShowText()); this.text.element[0].innerHTML = BI.htmlEncode(this._getShowText());
} else { } else {
// textContent性能更好,并且原生防xss
this.text.element[0].textContent = this._getShowText(); this.text.element[0].textContent = this._getShowText();
} }
} }

12
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

5
dist/fineui.js vendored

@ -36798,9 +36798,10 @@ BI.Text = BI.inherit(BI.Single, {
this.text.element.html(BI.htmlEncode(this._getShowText())); this.text.element.html(BI.htmlEncode(this._getShowText()));
return; return;
} }
if (/&|\"|<|>|\\s/.test(text)) { if (/\s/.test(text)) {
this.text.element[0].textContent = BI.htmlEncode(this._getShowText()); this.text.element[0].innerHTML = BI.htmlEncode(this._getShowText());
} else { } else {
// textContent性能更好,并且原生防xss
this.text.element[0].textContent = this._getShowText(); this.text.element[0].textContent = this._getShowText();
} }
} }

6
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

5
dist/fineui_without_jquery_polyfill.js vendored

@ -25229,9 +25229,10 @@ BI.Text = BI.inherit(BI.Single, {
this.text.element.html(BI.htmlEncode(this._getShowText())); this.text.element.html(BI.htmlEncode(this._getShowText()));
return; return;
} }
if (/&|\"|<|>|\\s/.test(text)) { if (/\s/.test(text)) {
this.text.element[0].textContent = BI.htmlEncode(this._getShowText()); this.text.element[0].innerHTML = BI.htmlEncode(this._getShowText());
} else { } else {
// textContent性能更好,并且原生防xss
this.text.element[0].textContent = this._getShowText(); this.text.element[0].textContent = this._getShowText();
} }
} }

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

5
src/base/single/text.js

@ -133,10 +133,11 @@ BI.Text = BI.inherit(BI.Single, {
this.text.element.html(BI.htmlEncode(this._getShowText())); this.text.element.html(BI.htmlEncode(this._getShowText()));
return; return;
} }
if (/&|\"|<|>|\\s/.test(text)) { if (/\s/.test(text)) {
this.text.element[0].innerHTML = BI.htmlEncode(this._getShowText()); this.text.element[0].innerHTML = BI.htmlEncode(this._getShowText());
} else { } else {
this.text.element[0].innerHTML = this._getShowText(); // textContent性能更好,并且原生防xss
this.text.element[0].textContent = this._getShowText();
} }
} }
}); });

Loading…
Cancel
Save