Add no-multi-spaces rule to eslint and run it

This commit is contained in:
rejas 2020-03-15 15:49:34 +01:00
parent 437d030502
commit 5a4ae99283
14 changed files with 27 additions and 24 deletions

View file

@ -14,9 +14,9 @@ var MMSocket = function(moduleName) {
var onevent = self.socket.onevent;
self.socket.onevent = function(packet) {
var args = packet.data || [];
onevent.call(this, packet); // original call
onevent.call(this, packet); // original call
packet.data = ["*"].concat(args);
onevent.call(this, packet); // additional call to catch-all
onevent.call(this, packet); // additional call to catch-all
};
// register catch all.