guy 4 years ago
parent
commit
5e5aa99c77
  1. 6
      src/base/single/text.js

6
src/base/single/text.js

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

Loading…
Cancel
Save