LoadingScreen -> UILoadingScreen

This commit is contained in:
rlx 2014-09-25 19:14:05 +02:00
parent 01f563b102
commit 0eeb4ab5e5
2 changed files with 4 additions and 4 deletions

View file

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

View file

@ -117,7 +117,7 @@ Ox.hideScreen <f> hide loading screen
() -> <u> hide loading screen () -> <u> hide loading screen
@*/ @*/
Ox.hideScreen = Ox.UI.hideLoadingScreen = function() { Ox.hideScreen = Ox.UI.hideLoadingScreen = function() {
Ox.LoadingScreen.hide(); Ox.UILoadingScreen.hide();
}; };
//@ Ox.isOxElement <f> Returns `true` if a DOM element is an Ox.Element //@ Ox.isOxElement <f> Returns `true` if a DOM element is an Ox.Element