add Ox.formatBoolean

This commit is contained in:
rlx 2016-01-19 16:40:58 +05:30
parent 1799631d60
commit 0d5d4e3dd0
1 changed files with 3 additions and 0 deletions

View File

@ -230,6 +230,9 @@
script = document.createElement('script');
script.onload = function() {
Ox.load({UI: {theme: theme}}, function() {
Ox.formatBoolean = function(value) {
return value ? 'yes' : 'no';
};
Ox.formatUpper = function(string) {
return string.toUpperCase();
};