mirror of
https://github.com/liriliri/eruda.git
synced 2026-04-01 10:18:35 +08:00
Dev: Console refactoring
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user