auto-sprites
Advanced tools
Comparing version 0.1.6 to 0.1.7
{ | ||
"name": "auto-sprites", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "自动合并图片的模块", | ||
@@ -28,3 +28,3 @@ "main": "index.js", | ||
"readme": "ERROR: No README data found!", | ||
"_id": "auto-sprites@0.1.6", | ||
"_id": "auto-sprites@0.1.5", | ||
"dist": { | ||
@@ -31,0 +31,0 @@ "shasum": "c0d4ecc2fefe174c3bbd4730a62b8d76f10a4dde" |
@@ -138,2 +138,5 @@ var path = require('path'), | ||
url = url[2]; | ||
if(url.indexOf('http') == 0){ | ||
return false; | ||
} | ||
//去除掉http引用的情况 | ||
@@ -140,0 +143,0 @@ url = url.replace(/(http:\/\/.*)(\/simg\/.*)/, function ($1, $2, $3) { |
Sorry, the diff of this file is not supported yet
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
56540
21
914