element-class
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -20,2 +20,3 @@ module.exports = function(opts) { | ||
var classes = el.className.split(' ') | ||
if (classes.indexOf(className) > -1) return classes | ||
classes.push(className) | ||
@@ -22,0 +23,0 @@ el.className = classes.join(' ') |
@@ -6,3 +6,3 @@ { | ||
"repository": {"type": "git", "url": "git@github.com:maxogden/element-class.git"}, | ||
"version": "0.0.1" | ||
"version": "0.0.2" | ||
} |
1651
32