flex-combo
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -134,3 +134,4 @@ var http = require('http') | ||
param.prjDir = prjDir; | ||
var fileReg = new RegExp(param.supportedFile); | ||
console.log(param); | ||
var fileReg = new RegExp(param.supportedFile); | ||
return function(req, res, next) { | ||
@@ -259,2 +260,8 @@ //远程请求的域名不能和访问域名一致,否则会陷入请求循环。 | ||
var buff = joinbuffers(buffs); | ||
//fix 80% situation bom problem.quick and dirty | ||
if(buff[0] === 239 && buff[1] === 187 && buff[2] === 191) { | ||
buff = buff.slice(3, buff.length); | ||
} | ||
var charset = isUtf8(buff) ? 'utf8' : 'gbk'; | ||
@@ -261,0 +268,0 @@ reqArray[id].content = adaptCharset(buff, param.charset, charset); |
{ | ||
"name": "flex-combo", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "The Flex-combo is combo tool designed for web front-end developer. It support various kinds of combo format by modify configuration(eg. yahoo combo).", | ||
@@ -5,0 +5,0 @@ "main": "flex-combo.js", |
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
15781
282