fix node debugger on firefox

pull/483/head
nightwing 2018-02-10 20:23:07 +04:00
rodzic 88d6d57e16
commit 1ecdf902a4
2 zmienionych plików z 3 dodań i 4 usunięć

Wyświetl plik

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

Wyświetl plik

@ -169,6 +169,9 @@ define(["require", "module", "exports", "./lib/menu/menu", "./lib/crypto",
if (this.$bdetect) if (this.$bdetect)
return; 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. /* Browser - platform and feature detection, based on prototype's and mootools 1.3.
* *
* Major browser/engines flags * Major browser/engines flags