flex-combo
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -163,2 +163,3 @@ var http = require('http') | ||
if(!fileContent){ | ||
console.log('file not in local"'+fullPath); | ||
if(prevNeedHttp){ | ||
@@ -172,2 +173,5 @@ needHttpGet += ',' + file; | ||
} | ||
if(prevNeedHttp){ | ||
reqArray.push({file: needHttpGet, ready: false}); | ||
} | ||
prevNeedHttp = false; | ||
@@ -180,2 +184,3 @@ reqArray.push({file: file, content: fileContent, ready: true}); | ||
} | ||
console.log('array size: '+reqArray.length); | ||
@@ -189,5 +194,5 @@ var reqPath = prefix + param.servlet + '?'; | ||
console.log('define request: '+ reqArray[i].file); | ||
http.get({host: param.host, port: 80, path: url}, function(resp) { | ||
http.get({host: param.host, port: 80, path: reqPath + reqArray[id].file}, function(resp) { | ||
var buffs = []; | ||
console.log('request: ' + reqPath+reqArray[id].file); | ||
console.log('request: ' + reqPath + reqArray[id].file); | ||
resp.on('data', function(chunk) { | ||
@@ -194,0 +199,0 @@ buffs.push(chunk); |
{ | ||
"name": "flex-combo", | ||
"version": "0.1.3", | ||
"version": "0.1.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", |
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
9521
221