Added some extra methods for making result set merging easier.
authorJohn Resig <jeresig@gmail.com>
Sun, 15 Feb 2009 18:09:34 +0000 (18:09 +0000)
committerJohn Resig <jeresig@gmail.com>
Sun, 15 Feb 2009 18:09:34 +0000 (18:09 +0000)
src/core.js

index e0428c4..d78ec7e 100644 (file)
@@ -267,8 +267,10 @@ jQuery.fn = jQuery.prototype = {
        },
 
        // For internal use only.
        },
 
        // 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,
        push: [].push,
+       sort: [].sort,
+       splice: [].splice,
 
        find: function( selector ) {
                if ( this.length === 1 ) {
 
        find: function( selector ) {
                if ( this.length === 1 ) {