diff options
Diffstat (limited to 'src/core.js')
-rw-r--r-- | src/core.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core.js b/src/core.js index d05d84888..ccc5389c5 100644 --- a/src/core.js +++ b/src/core.js @@ -303,7 +303,7 @@ jQuery.extend( { if ( isArrayLike( Object( arr ) ) ) { jQuery.merge( ret, typeof arr === "string" ? - [ arr ] : arr + [ arr ] : arr ); } else { push.call( ret, arr ); @@ -405,9 +405,9 @@ if ( typeof Symbol === "function" ) { // Populate the class2type map jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), -function( _i, name ) { - class2type[ "[object " + name + "]" ] = name.toLowerCase(); -} ); + function( _i, name ) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); + } ); function isArrayLike( obj ) { |