fix node debugger on firefox

This commit is contained in:
nightwing 2018-02-10 20:23:07 +04:00
parent 88d6d57e16
commit 1ecdf902a4
2 changed files with 3 additions and 4 deletions

View File

@ -71,10 +71,6 @@ define(function(require, exports, module) {
}, eventForwarder);
});
dbg.on(event, function(e) {
return emit(event, e);
}, eventForwarder);
dbg.attach(socket, reconnect, callback);
});
}

View File

@ -169,6 +169,9 @@ define(["require", "module", "exports", "./lib/menu/menu", "./lib/crypto",
if (this.$bdetect)
return;
// remove non-standard window.event
try { delete window.event } catch(e) {}
/* Browser - platform and feature detection, based on prototype's and mootools 1.3.
*
* Major browser/engines flags