Permalink
Browse files

Core: remove isArraylike check for nodes

Fixes gh-2238
Close gh-2243
  • Loading branch information...
mhbseal authored and timmywil committed Apr 29, 2015
1 parent b92acf7 commit 436f0aee0a4c37ecb61b87a3a44227f6f5153b3a
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/core.js
View
@@ -444,10 +444,6 @@ function isArraylike( obj ) {
return false;
}
if ( obj.nodeType === 1 && length ) {
return true;
}
return type === "array" || length === 0 ||
typeof length === "number" && length > 0 && ( length - 1 ) in obj;
}

0 comments on commit 436f0ae

Please sign in to comment.