Skip to content

Commit

Permalink
eslint --fix .
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Aug 24, 2019
1 parent 9a0c254 commit 9a7839f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1501,7 +1501,7 @@ module.exports = {

if (typeof element.hasAttribute === 'function') {
const attributes = spec.attributes || {};
const className = attributes['class'];
const className = attributes.class;
const style = attributes.style;

if (className && element.hasAttribute('class')) {
Expand Down

0 comments on commit 9a7839f

Please sign in to comment.