From ec1800376a660c8aa3ca3ab17e5b82e4aa4f9a01 Mon Sep 17 00:00:00 2001 From: Rolux Date: Thu, 11 Feb 2010 00:22:46 +0530 Subject: [PATCH] typos --- build/js/ox.ui.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build/js/ox.ui.js b/build/js/ox.ui.js index 4afd528..ffb4103 100644 --- a/build/js/ox.ui.js +++ b/build/js/ox.ui.js @@ -773,7 +773,7 @@ requires // private function wrapjQuery() { $.each(oxui.jQueryFunctions, function(i, fn) { - that[v] = function() { + that[fn] = function() { var args = arguments, length = args.length, id, ret, $element; @@ -781,15 +781,15 @@ requires // if an ox object was passed // then pass its $element instead // 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) { - args[i] = v.$content + args[i] = arg.$content } 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; } else { $element = that.$element;