From 8d0c5c30b860fa97c638edab48959a0963ee77b2 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 17 May 2016 15:05:27 -0700 Subject: [PATCH] Use consistent function styles --- spec/api-browser-window-spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/api-browser-window-spec.js b/spec/api-browser-window-spec.js index bd4e6ea..f698121 100644 --- a/spec/api-browser-window-spec.js +++ b/spec/api-browser-window-spec.js @@ -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({ -- 2.7.4