postcss-svg
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -0,1 +1,5 @@ | ||
### 1.0.4 - 2015-11-09 | ||
PostCSS 5 compatibility (https://github.com/Pavliko/postcss-svg/issues/13) | ||
### 1.0.3 - 2015-11-08 | ||
@@ -2,0 +6,0 @@ |
@@ -23,5 +23,5 @@ (function() { | ||
} | ||
return function(style) { | ||
return function(style, result) { | ||
SVGCache.init(options); | ||
return style.eachDecl(/^background|^filter|^content|image$/, function(decl) { | ||
return style.walkDecls(/^background|^filter|^content|image$/, function(decl) { | ||
var ___, error, matches, name, params, replace, svg; | ||
@@ -41,3 +41,3 @@ if (!decl.value) { | ||
if (silent) { | ||
console.info("postcss-svg: " + error); | ||
decl.warn(result, "postcss-svg: " + error); | ||
} else { | ||
@@ -44,0 +44,0 @@ throw decl.error(error); |
{ | ||
"name": "postcss-svg", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Postcss plugin for insert inline SVG to CSS", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55574