grunt-important-css
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "grunt-important-css", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "A lightweight npm plugin to add !important tags to the end of all rules of a CSS file", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/joshuahatcher/grunt-important-css", |
@@ -43,5 +43,7 @@ /* | ||
values.rules.forEach(function(r) { | ||
r.declarations.forEach(function(d) { | ||
d.value += ' !important'; | ||
}); | ||
if (r.declarations) { | ||
r.declarations.forEach(function(d) { | ||
d.value += ' !important'; | ||
}); | ||
} | ||
}); | ||
@@ -48,0 +50,0 @@ }).toString(); |
3813
49