clean-css
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -0,1 +1,7 @@ | ||
0.2.4 / 2011-05-25 | ||
================== | ||
* Fixed problem with expanding 'none' to '0' in partial/full background declarations. | ||
* Fixed including clean-css library from binary (global to local). | ||
0.2.3 / 2011-04-18 | ||
@@ -2,0 +8,0 @@ ================== |
@@ -106,3 +106,4 @@ var sys = require('sys'); | ||
replace(/(\s|:)0(px|em|ex|cm|mm|in|pt|pc|%)/g, '$1' + '0') // zero + unit to zero | ||
replace(/(border|border-top|border-right|border-bottom|border-left|outline|background):none/g, '$1:0') // none to 0 | ||
replace(/(border|border-top|border-right|border-bottom|border-left|outline):none/g, '$1:0') // none to 0 | ||
replace(/(background):none([;}])/g, '$1:0$2') // background:none to 0 | ||
replace(/0 0 0 0/g, '0') // multiple zeros into one | ||
@@ -109,0 +110,0 @@ replace(/([: ,=\-])0\.(\d)/g, '$1.$2') |
@@ -11,3 +11,3 @@ { | ||
}, | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"main": "index.js", | ||
@@ -14,0 +14,0 @@ "bin": { |
@@ -179,2 +179,3 @@ var vows = require('vows'), | ||
'display:none not changed': 'a{display:none}', | ||
'longer background declaration not changed': 'html{background:none repeat scroll 0 0 white}', | ||
'mixed zeros not changed': 'div{margin:0 0 1px 0}', | ||
@@ -181,0 +182,0 @@ 'mixed zeros not changed #2': 'div{padding:0 1px 0 0}' |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
61887
16
1643