From b14604bc1480a6f0cf295e2412b116e45b51d855 Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 30 Nov 2011 15:27:08 +0100 Subject: [PATCH] add aliases 'Ox.' etc. for 'Ox.UI.' etc. --- source/Ox.UI/Ox.UI.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/source/Ox.UI/Ox.UI.js b/source/Ox.UI/Ox.UI.js index 5520fffa..25b18535 100644 --- a/source/Ox.UI/Ox.UI.js +++ b/source/Ox.UI/Ox.UI.js @@ -245,10 +245,11 @@ Ox.load.UI = function(options, callback) { Ox.UI.ready = (function() { var callbacks = []; $(function() { - Ox.UI.$body = $('body'); - Ox.UI.$document = $(document); - Ox.UI.$head = $('head'); - Ox.UI.$window = $(window); + // FIXME: use OX.$foo everywhere! + Ox.$body = Ox.UI.$body = $('body'); + Ox.$document = Ox.UI.$document = $(document); + Ox.$head = Ox.UI.$head = $('head'); + Ox.$window = Ox.UI.$window = $(window); callbacks.forEach(function(callback) { callback(); });