clean-css
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -0,1 +1,6 @@ | ||
0.3.1 / 2011-12-16 | ||
================== | ||
* Fixed cleaning up '0 0 0 0' expressions. | ||
0.3.0 / 2011-11-29 | ||
@@ -2,0 +7,0 @@ ================== |
@@ -108,3 +108,3 @@ var util = require('util'); | ||
replace(/(background):none([;}])/g, '$1:0$2') // background:none to 0 | ||
replace(/0 0 0 0/g, '0') // multiple zeros into one | ||
replace(/0 0 0 0([^\.])/g, '0$1') // multiple zeros into one | ||
replace(/([: ,=\-])0\.(\d)/g, '$1.$2') | ||
@@ -111,0 +111,0 @@ replace(/[^\}]+{(;)*}/g, '') // empty elements |
@@ -11,3 +11,3 @@ { | ||
}, | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"main": "index.js", | ||
@@ -14,0 +14,0 @@ "bin": { |
@@ -201,3 +201,12 @@ var vows = require('vows'), | ||
'mixed zeros not changed': 'div{margin:0 0 1px 0}', | ||
'mixed zeros not changed #2': 'div{padding:0 1px 0 0}' | ||
'mixed zeros not changed #2': 'div{padding:0 1px 0 0}', | ||
'mixed zeros not changed #3': 'div{padding:10px 0 0 0}', | ||
'multiple zeros with fractions #1': [ | ||
'div{padding:0 0 0 0.5em}', | ||
'div{padding:0 0 0 .5em}' | ||
], | ||
'multiple zeros with fractions #2': [ | ||
'div{padding:0 0 0 .5em}', | ||
'div{padding:0 0 0 .5em}' | ||
] | ||
}), | ||
@@ -204,0 +213,0 @@ 'floats': cssContext({ |
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
65723
1688