From 0eeb4ab5e5ad8ea6943f33112fad0c66a2b010c6 Mon Sep 17 00:00:00 2001
From: rlx <0x0073@0x2620.org>
Date: Thu, 25 Sep 2014 19:14:05 +0200
Subject: [PATCH] LoadingScreen -> UILoadingScreen
---
source/Ox.UI/Ox.UI.js | 6 +++---
source/Ox.UI/js/Core/UI.js | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/source/Ox.UI/Ox.UI.js b/source/Ox.UI/Ox.UI.js
index 9729c737..03ac7616 100644
--- a/source/Ox.UI/Ox.UI.js
+++ b/source/Ox.UI/Ox.UI.js
@@ -60,7 +60,7 @@ Ox.load.UI = function(options, callback) {
Ox.UI = {}; // FIXME: remove
- Ox.LoadingScreen = (function() {
+ Ox.UILoadingScreen = (function() {
var $body = Ox.$('body'),
$screen = Ox.$('
')
@@ -229,7 +229,7 @@ Ox.load.UI = function(options, callback) {
Ox.documentReady(function() {
Ox.$('body').addClass('OxTheme' + Ox.toTitleCase(options.theme));
- options.showScreen && Ox.LoadingScreen.show();
+ options.showScreen && Ox.UILoadingScreen.show();
});
loadUI();
@@ -281,7 +281,7 @@ Ox.load.UI = function(options, callback) {
return false;
});
if (options.showScreen && options.hideScreen) {
- Ox.LoadingScreen.hide();
+ Ox.UILoadingScreen.hide();
}
callback(browserSupported);
});
diff --git a/source/Ox.UI/js/Core/UI.js b/source/Ox.UI/js/Core/UI.js
index 704532ed..51f98e03 100644
--- a/source/Ox.UI/js/Core/UI.js
+++ b/source/Ox.UI/js/Core/UI.js
@@ -117,7 +117,7 @@ Ox.hideScreen hide loading screen
() -> hide loading screen
@*/
Ox.hideScreen = Ox.UI.hideLoadingScreen = function() {
- Ox.LoadingScreen.hide();
+ Ox.UILoadingScreen.hide();
};
//@ Ox.isOxElement Returns `true` if a DOM element is an Ox.Element