Use // for multi-line comments
This commit is contained in:
parent
f4af744519
commit
990dc30e8d
15 changed files with 65 additions and 138 deletions
|
@ -138,10 +138,8 @@ wrapWebContents = function(webContents) {
|
|||
var args;
|
||||
args = 1 <= arguments.length ? slice.call(arguments, 0) : [];
|
||||
|
||||
/*
|
||||
Calling loadURL during this event might cause crash, so delay the event
|
||||
until next tick.
|
||||
*/
|
||||
// Calling loadURL during this event might cause crash, so delay the event
|
||||
// until next tick.
|
||||
return setImmediate((function(_this) {
|
||||
return function() {
|
||||
return _this.emit.apply(_this, ['did-fail-load'].concat(slice.call(args)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue