add aliases 'Ox.' etc. for 'Ox.UI.' etc.
This commit is contained in:
parent
3597b8c60c
commit
b14604bc14
1 changed files with 5 additions and 4 deletions
|
@ -245,10 +245,11 @@ Ox.load.UI = function(options, callback) {
|
||||||
Ox.UI.ready = (function() {
|
Ox.UI.ready = (function() {
|
||||||
var callbacks = [];
|
var callbacks = [];
|
||||||
$(function() {
|
$(function() {
|
||||||
Ox.UI.$body = $('body');
|
// FIXME: use OX.$foo everywhere!
|
||||||
Ox.UI.$document = $(document);
|
Ox.$body = Ox.UI.$body = $('body');
|
||||||
Ox.UI.$head = $('head');
|
Ox.$document = Ox.UI.$document = $(document);
|
||||||
Ox.UI.$window = $(window);
|
Ox.$head = Ox.UI.$head = $('head');
|
||||||
|
Ox.$window = Ox.UI.$window = $(window);
|
||||||
callbacks.forEach(function(callback) {
|
callbacks.forEach(function(callback) {
|
||||||
callback();
|
callback();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue