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:
ec146fc
)
jquery core: fix for [5828]. Put 'function' instead of 'string'.
author
Ariel Flesler
<aflesler@gmail.com>
Thu, 14 Aug 2008 14:03:05 +0000
(14:03 +0000)
committer
Ariel Flesler
<aflesler@gmail.com>
Thu, 14 Aug 2008 14:03:05 +0000
(14:03 +0000)
src/core.js
patch
|
blob
|
history
diff --git
a/src/core.js
b/src/core.js
index
64c8331
..
829e153
100644
(file)
--- a/
src/core.js
+++ b/
src/core.js
@@
-1133,7
+1133,7
@@
jQuery.extend({
if( array != null ){
var i = array.length;
// The window, strings (and functions) also have 'length'
- if( i == null || typeof array == 'function' || array.setInterval )
+ if( i == null || typeof array == 'string' || array.setInterval )
ret[0] = array;
else
while( i )