flex-combo
Advanced tools
Comparing version 0.12.0 to 0.12.1
@@ -77,3 +77,3 @@ var urlLib = require("url"); | ||
parser: function (_url) { | ||
var url = urlLib.parse(_url).path.replace(/\\|\/{1,}/g, '/'); | ||
var url = urlLib.parse(_url).path.replace(/[\\|\/]{1,}/g, '/'); | ||
var prefix = url.indexOf(this.param.servlet + '?'); | ||
@@ -86,3 +86,3 @@ | ||
return filelist.map(function (i) { | ||
return pathLib.join(base, i); | ||
return pathLib.join(base, i).replace(/\\/g, '/'); | ||
}); | ||
@@ -158,3 +158,3 @@ } | ||
var suffix = ["\\.tpl$", "\\.phtml$", "\\.js$", "\\.css$", "\\.png$", "\\.gif$", "\\.jpg$", "\\.jpeg$", "\\.ico$", "\\.swf$", "\\.xml$", "\\.less$", "\\.scss$", "\\.svg$", "\\.ttf$", "\\.eot$", "\\.woff$", "\\.mp3$"]; | ||
var suffix = ["\\.tpl$", "\\.phtml$", "\\.js$", "\\.css$", "\\.png$", "\\.gif$", "\\.jpg$", "\\.jpeg$", "\\.ico$", "\\.swf$", "\\.xml$", "\\.json$", "\\.less$", "\\.scss$", "\\.svg$", "\\.ttf$", "\\.eot$", "\\.woff$", "\\.mp3$"]; | ||
var supportedFile = this.param.supportedFile; | ||
@@ -161,0 +161,0 @@ if (supportedFile) { |
{ | ||
"name": "flex-combo", | ||
"version": "0.12.0", | ||
"version": "0.12.1", | ||
"description": "A combo tool designed for web front-end developer, which support various kinds of combo format by modify configuration(eg. yahoo combo).", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
80336