Comparing version 0.12.2 to 0.12.3
0.12.3 / 2011-05-08 | ||
================== | ||
* Fixed `0%` in __@keyframes__ from becoming "0" when compressed. Closes #248 | ||
0.12.2 / 2011-05-03 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -27,3 +27,3 @@ | ||
exports.version = '0.12.2'; | ||
exports.version = '0.12.3'; | ||
@@ -30,0 +30,0 @@ /** |
@@ -229,4 +229,5 @@ | ||
if (this.compress) { | ||
// Zero is always '0' | ||
if (0 == n) return '0'; | ||
// Zero is always '0', unless when | ||
// a percentage, this is required by keyframes | ||
if ('%' != type && 0 == n) return '0'; | ||
// Omit leading '0' on floats | ||
@@ -233,0 +234,0 @@ if (float && n < 1 && n > -1) { |
{ "name": "stylus" | ||
, "description": "Robust, expressive, and feature-rich CSS superset" | ||
, "version": "0.12.2" | ||
, "version": "0.12.3" | ||
, "author": "TJ Holowaychuk <tj@vision-media.ca>" | ||
@@ -5,0 +5,0 @@ , "keywords": ["css", "parser", "style", "stylesheets", "jade", "language"] |
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
205463
7455