Skip to content
Permalink
Browse files

dropping intial code for #4957 - too many open issues to get this int…

…o 1.8
  • Loading branch information
jzaefferer committed Jan 22, 2010
1 parent 4e81523 commit cc77201c8e55a4ffc4d4ff5287cfdc14bce7a3e1
Showing with 0 additions and 26 deletions.
  1. +0 −26 ui/jquery.ui.core.js
@@ -98,26 +98,6 @@ $.ui = {
SPACE: 32,
TAB: 9,
UP: 38
},

element: function(value, context) {
var ret = $([]); // $(context) ?

if (value.jquery) {
ret = value;
} else if (value == 'parent') {
ret = $(context).parent();
} else if (value == 'clone') {
ret = $(context).clone().removeAttr('id');
} else if (value == 'window') {
ret = $(context).window(); // requires .window() plugin
} else if (value.nodeType || typeof value == 'string' || $.isArray(value)) {
ret = $(value, context);
} else if ($.isFunction(value)) {
ret = value(context);
}

return ret;
}
};

@@ -214,12 +194,6 @@ $.fn.extend({
}

return 0;
},

window: function() {
return this.pushStack($.unique($.map(this, function() {
return this.ownerDocument.defaultView;
})));
}
});

0 comments on commit cc77201

Please sign in to comment.
You can’t perform that action at this time.