Dev: Console refactoring

This commit is contained in:
surunzi
2016-05-16 00:17:22 +08:00
parent 231977f921
commit fe0a05f82d
3 changed files with 100 additions and 211 deletions

View File

@@ -61,12 +61,12 @@ export default class Network extends Tool
origOpen.apply(this, arguments);
};
winXhrProto.send = function ()
winXhrProto.send = function (...args)
{
var req = this.erudaRequest;
if (req) req.handleSend();
origSend.apply(this, arguments);
origSend.apply(this, args);
};
}
restoreXhr()