forked from 0x2620/oxjs
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) {
|
loadJSON(function(data) {
|
||||||
var previousOx = global.Ox;
|
var previousOx = global.Ox;
|
||||||
loadScriptsSerial(data.files, function() {
|
loadScriptsSerial(data.files, function() {
|
||||||
|
Ox.LOCALES = data.locales;
|
||||||
Ox.VERSION = data.version;
|
Ox.VERSION = data.version;
|
||||||
Ox.forEach(previousOx, function(value, key) {
|
Ox.forEach(previousOx, function(value, key) {
|
||||||
if (Ox.isUndefined(Ox[key])) {
|
if (Ox.isUndefined(Ox[key])) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue