📝 Update tutorials to ES6 [ci skip]

This commit is contained in:
Steve Kinney 2016-05-04 12:11:51 -06:00
parent 3271492c86
commit 55babea2bb
7 changed files with 66 additions and 63 deletions

View file

@ -59,8 +59,8 @@ app.commandLine.appendSwitch('widevine-cdm-path', '/path/to/widevinecdmadapter.p
// The version of plugin can be got from `chrome://plugins` page in Chrome.
app.commandLine.appendSwitch('widevine-cdm-version', '1.4.8.866');
var mainWindow = null;
app.on('ready', function() {
let mainWindow = null;
app.on('ready', () => {
mainWindow = new BrowserWindow({
webPreferences: {
// The `plugins` have to be enabled.