typos
This commit is contained in:
parent
3911a4719b
commit
bf7fc92fc4
1 changed files with 5 additions and 5 deletions
|
@ -773,7 +773,7 @@ requires
|
||||||
// private
|
// private
|
||||||
function wrapjQuery() {
|
function wrapjQuery() {
|
||||||
$.each(oxui.jQueryFunctions, function(i, fn) {
|
$.each(oxui.jQueryFunctions, function(i, fn) {
|
||||||
that[v] = function() {
|
that[fn] = function() {
|
||||||
var args = arguments,
|
var args = arguments,
|
||||||
length = args.length,
|
length = args.length,
|
||||||
id, ret, $element;
|
id, ret, $element;
|
||||||
|
@ -781,15 +781,15 @@ 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) {
|
if (arg.ox) { // fixme: or is this too much magic?
|
||||||
if (fn == "appendTo" && arg.$content) {
|
if (fn == "appendTo" && arg.$content) {
|
||||||
args[i] = v.$content
|
args[i] = arg.$content
|
||||||
} else {
|
} else {
|
||||||
args[i] = v.$element;
|
args[i] = arg.$element;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (v == "html" && that.$content) {
|
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;
|
||||||
|
|
Loading…
Reference in a new issue