cleanup and styling

This commit is contained in:
Leo Horie 2016-05-11 11:52:41 -04:00
parent 76818dab24
commit f4c1d4a998
3 changed files with 2 additions and 5 deletions

View file

@ -358,9 +358,7 @@ module.exports = function($window, onevent) {
if (value) element.setAttribute(key, "")
else element.removeAttribute(key)
}
else element.setAttribute(
key === "className" ? "class" : key,
value)
else element.setAttribute(key === "className" ? "class" : key, value)
}
}
function setLateAttrs(vnode) {