|
|
@ -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); |
|
|
|