Skip to content

Commit

Permalink
Vectorizer: remove deprecated attr.nodeName and attr.nodeValue calls (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
kumilingus authored Nov 21, 2016
1 parent 4a1aaab commit 6c353aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vectorizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ V = Vectorizer = (function() {
var attrs = {};

for (var i = 0; i < attributes.length; i++) {
attrs[attributes[i].nodeName] = attributes[i].nodeValue;
attrs[attributes[i].name] = attributes[i].value;
}

return attrs;
Expand Down

0 comments on commit 6c353aa

Please sign in to comment.