only force reload in debug mode, use version otherwise

This commit is contained in:
j 2013-09-05 11:09:30 +00:00
commit e1d71b27bc
2 changed files with 2 additions and 1 deletions

View file

@ -23,6 +23,7 @@
loadScriptsSerial(data.files, function() {
Ox.LOCALES = data.locales;
Ox.VERSION = data.version;
Ox.DEBUG = true;
Ox.forEach(previousOx, function(value, key) {
if (Ox.isUndefined(Ox[key])) {
Ox[key] = value;