1
0
Fork 0
forked from 0x2620/oxjs

Ox -> Ox.UI

This commit is contained in:
rlx 2014-09-26 14:18:11 +02:00
commit e2a42ab04e
12 changed files with 47 additions and 47 deletions

View file

@ -58,9 +58,9 @@ Ox.load.UI = function(options, callback) {
}
});
Ox.UI = {}; // FIXME: remove
Ox.UI = {};
Ox.UILoadingScreen = (function() {
Ox.UI.LoadingScreen = (function() {
var $body = Ox.$('body'),
$screen = Ox.$('<div>')
@ -229,7 +229,7 @@ Ox.load.UI = function(options, callback) {
Ox.documentReady(function() {
Ox.$('body').addClass('OxTheme' + Ox.toTitleCase(options.theme));
options.showScreen && Ox.UILoadingScreen.show();
options.showScreen && Ox.UI.LoadingScreen.show();
});
loadUI();
@ -276,7 +276,7 @@ Ox.load.UI = function(options, callback) {
return false;
});
if (options.showScreen && options.hideScreen) {
Ox.UILoadingScreen.hide();
Ox.UI.LoadingScreen.hide();
}
callback(browserSupported);
});