commenting out jquery magic

This commit is contained in:
Rolux 2010-02-11 01:11:25 +05:30
parent ec1800376a
commit e7c8315ad1

View File

@ -781,6 +781,7 @@ requires
// if an ox object was passed // if an ox object was passed
// then pass its $element instead // then pass its $element instead
// so we can do oxObj.jqFn(oxObj) // so we can do oxObj.jqFn(oxObj)
/*
if (arg.ox) { // fixme: or is this too much magic? if (arg.ox) { // fixme: or is this too much magic?
if (fn == "appendTo" && arg.$content) { if (fn == "appendTo" && arg.$content) {
args[i] = arg.$content args[i] = arg.$content
@ -788,12 +789,15 @@ requires
args[i] = arg.$element; args[i] = arg.$element;
} }
} }
*/
}); });
/*
if (fn == "html" && that.$content) { // fixme: or is this too much magic? if (fn == "html" && that.$content) { // fixme: or is this too much magic?
$element = that.$content; $element = that.$content;
} else { } else {
$element = that.$element; $element = that.$element;
} }
*/
// why does this not work? // why does this not work?
// ret = that.$element[v].apply(this, arguments); // ret = that.$element[v].apply(this, arguments);
if (length == 0) { if (length == 0) {