cssgrace
Advanced tools
Comparing version 2.0.0 to 2.0.1
# CSS Grace | ||
## V 2.0.1 (2015-03-23) | ||
\* Fix the problem which is unable to obtain the size of image when the `?` in URL. e.g. `background: url(../images/font/blue.png?__sprite)` | ||
## V 2.0.0 (2015-01-26) | ||
\+ Image path supports a relative path. | ||
\+ Image Path supports a relative path. | ||
\+ Surpporting Base64 encoding images. | ||
@@ -7,0 +11,0 @@ |
@@ -500,3 +500,4 @@ var path = require('path'), | ||
function getAbsolutePath(sourcePath) { | ||
return path.resolve(currentFilePath, sourcePath); | ||
//移除url中带有 ?参数的内容 | ||
return path.resolve(currentFilePath, sourcePath.split("?")[0]); | ||
} | ||
@@ -503,0 +504,0 @@ |
{ | ||
"name": "cssgrace", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "CSS postproccessor", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -555,3 +555,3 @@ | ||
.foo { | ||
background: rgba(153, 85, 102, 0.3);margin | ||
background: rgba(153, 85, 102, 0.3); | ||
} | ||
@@ -558,0 +558,0 @@ ``` |
@@ -509,3 +509,3 @@ | ||
.foo { | ||
background: rgba(153, 85, 102, 0.3);margin | ||
background: rgba(153, 85, 102, 0.3); | ||
} | ||
@@ -512,0 +512,0 @@ ``` |
36158
453