add Ox.formatBoolean
This commit is contained in:
parent
1799631d60
commit
0d5d4e3dd0
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue