gulp-css-spritus
Advanced tools
Comparing version 1.3.2 to 1.3.3
11
index.js
@@ -86,7 +86,16 @@ var | ||
this.strCSS.replace(new RegExp(this.config.searchPrefix + "\\-[^\\(]+\\(\\\"([^\\\"]+)\\\"", 'ig'), function (str) { | ||
var find = false; | ||
this.strCSS.replace(new RegExp(this.config.searchPrefix + "\\-|\\:[^\\(]+\\(\\\"([^\\\"]+)\\\"", 'ig'), function (str) { | ||
self.SpritusList.push(arguments[1]); | ||
find = true; | ||
return str; | ||
}); | ||
if (!find) { | ||
this.imgStream.push(null); | ||
this.cssStream.push(this.css); | ||
this.retStream.push(this.css); | ||
return cb(); | ||
} | ||
this.SpritusList.run(this.runHandler.bind(this)); | ||
@@ -93,0 +102,0 @@ }; |
{ | ||
"name": "gulp-css-spritus", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "Parses your styles to find the sprites and then creates, saves and compresses", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -7,2 +7,4 @@ # gulp-css-spritus | ||
*For [PostCSS](http://postcss.org) use [postcss-spritus](https://www.npmjs.com/package/postcss-spritus)* | ||
## Install | ||
@@ -9,0 +11,0 @@ ``` |
Sorry, the diff of this file is not supported yet
71035
502
305