1
0
Fork 0
forked from 0x2620/oxjs

fix Ox.JQueryElement fixmes

This commit is contained in:
j 2012-05-22 16:08:09 +02:00
commit 33390069b9
6 changed files with 26 additions and 33 deletions

View file

@ -354,6 +354,13 @@ Ox.load.UI = function(options, callback) {
});
};
Ox.UI.IMAGE_CACHE = [];
/*@
Ox.UI.isElement <f> check if object is an Ox.Element
(obj) -> <b> true if object is an Ox.Element
@*/
Ox.UI.isElement = function(obj) {
return Ox.isObject(obj) && 'oxid' in obj;
};
Ox.UI.PATH = Ox.PATH + 'Ox.UI/';
Ox.UI.SCROLLBAR_SIZE = $.browser.mozilla ? 16 : 12;
// fixme: the follwing should be deprecated