Browse Source

Pull request #1492: 无JIRA任务 bugfix

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit '8f0d79edf2591e81a338864d74974ed49bdd8c3c':
  bugfix
es6
guy 4 years ago
parent
commit
0f8ccacdcf
  1. 2
      src/base/single/text.js

2
src/base/single/text.js

@ -162,9 +162,11 @@
formatters.push(formatter); formatters.push(formatter);
}; };
BI.Text.formatText = function (text) { BI.Text.formatText = function (text) {
if (formatters.length > 0) {
for (var i = 0, len = formatters.length; i < len; i++) { for (var i = 0, len = formatters.length; i < len; i++) {
text = formatters[i](text); text = formatters[i](text);
} }
}
return text; return text;
}; };
BI.shortcut("bi.text", BI.Text); BI.shortcut("bi.text", BI.Text);

Loading…
Cancel
Save