chore: npm testing script

This commit is contained in:
Ya Zhuang
2016-05-31 14:17:57 +08:00
parent 4144beecc1
commit cc71812445
2 changed files with 0 additions and 11 deletions

View File

@@ -233,13 +233,8 @@ function userRequestHandler(req,userRes){
resourceInfo.resHeader = resHeader;
resourceInfo.resBody = serverResData;
resourceInfo.length = serverResData ? serverResData.length : 0;
<<<<<<< HEAD
GLOBAL.recorder && GLOBAL.recorder.updateRecord(resourceInfoId,resourceInfo);
=======
global.recorder && global.recorder.updateRecord(resourceInfoId,resourceInfo);
>>>>>>> 6521604... change: discard decrpecated GLOBAL
callback();
@@ -378,13 +373,8 @@ function connectReqHandler(req, socket, head){
resourceInfo.resHeader = {};
resourceInfo.resBody = "";
resourceInfo.length = 0;
<<<<<<< HEAD
GLOBAL.recorder && GLOBAL.recorder.updateRecord(resourceInfoId,resourceInfo);
=======
global.recorder && global.recorder.updateRecord(resourceInfoId,resourceInfo);
>>>>>>> 6521604... change: discard decrpecated GLOBAL
callback();
}