Ox.js dev version: set locales on load

This commit is contained in:
rolux 2013-05-09 21:38:47 +02:00
parent 7f6bb6a318
commit 63667f04a0

View file

@ -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])) {