Clean up semicolon lint errors
This commit is contained in:
parent
70bcb0ac5a
commit
b1f679ff6d
7 changed files with 16 additions and 10 deletions
|
@ -11,7 +11,7 @@ deprecate.warn('ipc module', 'require("electron").ipcRenderer');
|
|||
var ipc = new EventEmitter;
|
||||
|
||||
ipcRenderer.emit = function() {
|
||||
var channel = arguments[0]
|
||||
var channel = arguments[0];
|
||||
var args = 3 <= arguments.length ? slice.call(arguments, 2) : [];
|
||||
ipc.emit.apply(ipc, [channel].concat(slice.call(args)));
|
||||
return EventEmitter.prototype.emit.apply(ipcRenderer, arguments);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue