| CODENOTIFIER | HelpYou are not signed inSign in |
Project: jQuery
Revision: 5829
Author: aflesler
Date: 14 Aug 2008 10:03:05
Diff at Trac: http://dev.jquery.com/changeset/5829
Changes:jquery core: fix for [5828]. Put 'function' instead of 'string'.
Files:| ... | ...@@ -1133,7 +1133,7 @@ | |
| 1133 | 1133 | if( array != null ){ |
| 1134 | 1134 | var i = array.length; |
| 1135 | 1135 | // The window, strings (and functions) also have 'length' |
| 1136 | if( i == null || typeof array == 'function' || array.setInterval ) | |
| 1136 | if( i == null || typeof array == 'string' || array.setInterval ) | |
| 1137 | 1137 | ret[0] = array; |
| 1138 | 1138 | else |
| 1139 | 1139 | while( i ) |