pleeease-filters
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -0,1 +1,3 @@ | ||
**3.0.1** - 2017-02-07 - Better splitting of filters functions and trim colors (fix #14) | ||
# 3.0.0 - 2016-04-01 | ||
@@ -2,0 +4,0 @@ |
@@ -542,3 +542,3 @@ var postcss = require('postcss'); | ||
unitSpread = fmatch[10], | ||
color = fmatch[11]; | ||
color = fmatch[11].trim(); | ||
properties = this.filters.dropShadow(offsetX, unitX, offsetY, unitY, radius, unitRadius, spread, unitSpread, color); | ||
@@ -563,3 +563,3 @@ } | ||
// get values | ||
var values = decl.value.split(/\)\s+/); | ||
var values = decl.value.split(/\)\s+(?!\))/); | ||
var properties = { | ||
@@ -566,0 +566,0 @@ filtersCSS: [], |
{ | ||
"name": "pleeease-filters", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Convert CSS shorthand filters to SVG ones", | ||
@@ -5,0 +5,0 @@ "author": { |
19906