git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
21dde30
)
Added some extra methods for making result set merging easier.
author
John Resig
<jeresig@gmail.com>
Sun, 15 Feb 2009 18:09:34 +0000
(18:09 +0000)
committer
John Resig
<jeresig@gmail.com>
Sun, 15 Feb 2009 18:09:34 +0000
(18:09 +0000)
src/core.js
patch
|
blob
|
history
diff --git
a/src/core.js
b/src/core.js
index
e0428c4
..
d78ec7e
100644
(file)
--- a/
src/core.js
+++ b/
src/core.js
@@
-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 ) {