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