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:
2b9b3e9
)
Clean up for revision 1462: "Fix for Safari crashes when doing DOM Manipulations...
author
Brandon Aaron
<brandon.aaron@gmail.com>
Fri, 9 Mar 2007 15:41:58 +0000
(15:41 +0000)
committer
Brandon Aaron
<brandon.aaron@gmail.com>
Fri, 9 Mar 2007 15:41:58 +0000
(15:41 +0000)
src/jquery/jquery.js
patch
|
blob
|
history
diff --git
a/src/jquery/jquery.js
b/src/jquery/jquery.js
index
4874037
..
48d7447
100644
(file)
--- a/
src/jquery/jquery.js
+++ b/
src/jquery/jquery.js
@@
-1495,9
+1495,7
@@
jQuery.extend({
}
- arg = [];
- for (var i=0, l=div.childNodes.length; i<l; i++)
- arg.push(div.childNodes[i]);
+ arg = jQuery.makeArray( div.childNodes[i] );
}
if ( arg.length === 0 && !jQuery.nodeName(arg, "form") )