reduce-css-calc
Advanced tools
Comparing version
@@ -0,1 +1,8 @@ | ||
# 1.2.4 - 2016-06-09 | ||
- Fixed: zero values are not unitless anymore. | ||
Browsers do not calculate calc() with 0 unitless values. | ||
http://jsbin.com/punivivipo/edit?html,css,output | ||
([#11](https://github.com/MoOx/reduce-css-calc/pull/11)) | ||
# 1.2.3 - 2016-04-28 | ||
@@ -2,0 +9,0 @@ |
@@ -92,6 +92,4 @@ /** | ||
// We don't need units for zero values... | ||
if (result !== 0) { | ||
result += unit | ||
} | ||
// Add unit | ||
result += unit | ||
@@ -98,0 +96,0 @@ return result |
@@ -0,4 +1,5 @@ | ||
{ | ||
"name": "reduce-css-calc", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "Reduce CSS calc() function to the maximum", | ||
@@ -5,0 +6,0 @@ "keywords": [ |
8871
2.08%128
-1.54%