1
0
Fork 0
forked from 0x2620/oxjs

Ox -> Ox.UI

This commit is contained in:
rlx 2014-09-26 14:31:20 +02:00
commit 552aba4271
17 changed files with 46 additions and 46 deletions

View file

@ -247,14 +247,14 @@ Ox.load.UI = function(options, callback) {
});
}
length = data.files.length;
Ox.IMAGES = data.images;
Ox.THEMES = {};
Ox.UI.IMAGES = data.images;
Ox.UI.THEMES = {};
data.files.forEach(function(file) {
path = Ox.PATH + file + '?' + Ox.VERSION;
if (/\.jsonc$/.test(file)) {
Ox.getJSONC(path, function(data) {
var theme = /\/themes\/(\w+)\/json\//.exec(file)[1];
Ox.THEMES[theme] = data;
Ox.UI.THEMES[theme] = data;
++counter == length && initUI();
});
} else {