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 a16b77f commit d6933917d217321e3d505abe201f3bf5bf7c3d66
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/core.js
View
@@ -496,10 +496,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 d693391

Please sign in to comment.