mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
🎨
This commit is contained in:
@@ -76,8 +76,8 @@ let wrapWebContents = function(webContents) {
|
||||
|
||||
// WebContents::send(channel, args..)
|
||||
webContents.send = function() {
|
||||
var args, channel;
|
||||
channel = arguments[0], args = 2 <= arguments.length ? slice.call(arguments, 1) : [];
|
||||
var args = 2 <= arguments.length ? slice.call(arguments, 1) : [];
|
||||
var channel = arguments[0];
|
||||
return this._send(channel, slice.call(args));
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user