Ox.js dev version: set locales on load
This commit is contained in:
parent
7f6bb6a318
commit
63667f04a0
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@
|
|||
loadJSON(function(data) {
|
||||
var previousOx = global.Ox;
|
||||
loadScriptsSerial(data.files, function() {
|
||||
Ox.LOCALES = data.locales;
|
||||
Ox.VERSION = data.version;
|
||||
Ox.forEach(previousOx, function(value, key) {
|
||||
if (Ox.isUndefined(Ox[key])) {
|
||||
|
|
Loading…
Reference in a new issue