git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Switch to using createRange for element comparision instead of Array indexOf checks...
[jquery.git]
/
src
/
core.js
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 ) {