Added some extra methods for making result set merging easier.

This commit is contained in:
John Resig 2009-02-15 18:09:34 +00:00
parent 21dde30348
commit 87b3ea4bc9

View file

@ -267,8 +267,10 @@ jQuery.fn = jQuery.prototype = {
},
// For internal use only.
// Behaves like an Array's .push method, not like a jQuery method.
// Behaves like an Array's method, not like a jQuery method.
push: [].push,
sort: [].sort,
splice: [].splice,
find: function( selector ) {
if ( this.length === 1 ) {