postcss-automath-latest
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -6,2 +6,4 @@ ## 1.0.0 | ||
## 1.1.1 | ||
- fix bug: Don't resolve '/' in background. | ||
- fix bug: Don't resolve '/' in background. | ||
## 1.1.2 | ||
- fix bug: Don't resolve '/' in border-radius. |
{ | ||
"name": "postcss-automath-latest", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Automatically evaluate mathematical expressions in your CSS source files, like in SASS or LESS. No special function calls needed as with `postcss-mathjs`.", | ||
@@ -5,0 +5,0 @@ "main": "postcss-automath.js", |
@@ -43,3 +43,3 @@ /** | ||
nodeProp = 'value'; | ||
if (node.prop.match(/font|background/)) { // exclude font、background props match 1px/2px | ||
if (node.prop.match(/font|background|border-radius/)) { // exclude font、background props match 1px/2px | ||
// exclude / in url(...) | ||
@@ -46,0 +46,0 @@ if (node[nodeProp].replace(/url\(.*?\)/, '').match(/\//)) { |
13496
12
152