Use consistent function styles

This commit is contained in:
Kevin Sawicki 2016-05-17 15:05:27 -07:00
parent 0b4b79d0a4
commit 8d0c5c30b8

View file

@ -833,7 +833,7 @@ describe('browser-window module', function () {
var extensionPath = path.join(__dirname, 'fixtures', 'devtools-extensions', 'foo')
BrowserWindow.addDevToolsExtension(extensionPath)
w.webContents.on('devtools-opened', () => {
w.webContents.on('devtools-opened', function () {
var inputEventIntervalId = setInterval(function () {
if (w && w.devToolsWebContents) {
w.devToolsWebContents.sendInputEvent({