Skip to content

Commit

Permalink
Remove element nodeType from DOMNode identifyer to make matches more …
Browse files Browse the repository at this point in the history
…explicit
  • Loading branch information
Munter committed Mar 7, 2015
1 parent ce006bf commit fddfda0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ module.exports = {
return false;
}

return obj.nodeName && [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].indexOf(obj.nodeType) > -1;
return obj.nodeName && [2, 3, 4, 5, 6, 7, 9, 10, 11, 12].indexOf(obj.nodeType) > -1;
},
equal: function (a, b) {
return a.nodeValue === b.nodeValue;
Expand Down

0 comments on commit fddfda0

Please sign in to comment.