Skip to content

Commit

Permalink
fix: Add return to hasAttribute and getAttribute
Browse files Browse the repository at this point in the history
  • Loading branch information
bigopon committed Dec 20, 2016
1 parent 125e7cf commit 1f8bb3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/view-factory.js
Expand Up @@ -93,11 +93,11 @@ function createElementContainer(parent, element, instruction, children, partRepl
}

function hasAttribute(name) {
this._element.hasAttribute(name)
return this._element.hasAttribute(name)
}

function getAttribute(name) {
this._element.getAttribute(name);
return this._element.getAttribute(name);
}

function setAttribute(name, value) {
Expand Down

0 comments on commit 1f8bb3a

Please sign in to comment.