💄 Standarize requires in JavaScript API

This commit is contained in:
Steve Kinney 2016-05-15 09:41:30 -04:00
parent 2317b56ac4
commit 0d3d097ce8
6 changed files with 10 additions and 13 deletions

View file

@ -1,6 +1,6 @@
'use strict'
const ipcMain = require('electron').ipcMain
const {ipcMain} = require('electron')
// The history operation in renderer is redirected to browser.
ipcMain.on('ELECTRON_NAVIGATION_CONTROLLER', function (event, method, ...args) {