Clean up semicolon lint errors
This commit is contained in:
parent
70bcb0ac5a
commit
b1f679ff6d
7 changed files with 16 additions and 10 deletions
|
@ -144,23 +144,29 @@ app.once('ready', function() {
|
|||
submenu: [
|
||||
{
|
||||
label: 'Learn More',
|
||||
click: function() { shell.openExternal('http://electron.atom.io') }
|
||||
click: function() {
|
||||
shell.openExternal('http://electron.atom.io');
|
||||
}
|
||||
},
|
||||
{
|
||||
label: 'Documentation',
|
||||
click: function() {
|
||||
shell.openExternal(
|
||||
`https://github.com/atom/electron/tree/v${process.versions.electron}/docs#readme`
|
||||
)
|
||||
);
|
||||
}
|
||||
},
|
||||
{
|
||||
label: 'Community Discussions',
|
||||
click: function() { shell.openExternal('https://discuss.atom.io/c/electron') }
|
||||
click: function() {
|
||||
shell.openExternal('https://discuss.atom.io/c/electron');
|
||||
}
|
||||
},
|
||||
{
|
||||
label: 'Search Issues',
|
||||
click: function() { shell.openExternal('https://github.com/atom/electron/issues') }
|
||||
click: function() {
|
||||
shell.openExternal('https://github.com/atom/electron/issues');
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
@ -63,4 +63,4 @@ class CallbacksRegistry {
|
|||
}
|
||||
}
|
||||
|
||||
module.exports = CallbacksRegistry
|
||||
module.exports = CallbacksRegistry;
|
||||
|
|
|
@ -579,4 +579,4 @@
|
|||
overrideAPISync(fs, 'openSync');
|
||||
return overrideAPISync(child_process, 'execFileSync');
|
||||
};
|
||||
})()
|
||||
})();
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
source['original-fs'] = source.fs;
|
||||
return source['fs'] = "var src = '(function (exports, require, module, __filename, __dirname) { ' +\n process.binding('natives')['original-fs'] +\n ' });';\nvar vm = require('vm');\nvar fn = vm.runInThisContext(src, { filename: 'fs.js' });\nfn(exports, require, module);\nvar asar = require('ATOM_SHELL_ASAR');\nasar.wrapFsWithAsar(exports);";
|
||||
};
|
||||
})()
|
||||
})();
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -41,7 +41,7 @@ var WebViewImpl = (function() {
|
|||
// Subscribe to host's zoom level changes.
|
||||
this.onZoomLevelChanged = (zoomLevel) => {
|
||||
this.webviewNode.setZoomLevel(zoomLevel);
|
||||
}
|
||||
};
|
||||
webFrame.on('zoom-level-changed', this.onZoomLevelChanged);
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"single"
|
||||
],
|
||||
"semi": [
|
||||
0,
|
||||
2,
|
||||
"always"
|
||||
],
|
||||
"comma-dangle": 0,
|
||||
|
|
Loading…
Add table
Reference in a new issue