Use consistent function styles
authorKevin Sawicki <kevinsawicki@gmail.com>
Tue, 17 May 2016 22:05:27 +0000 (15:05 -0700)
committerKevin Sawicki <kevinsawicki@gmail.com>
Tue, 17 May 2016 22:05:27 +0000 (15:05 -0700)
spec/api-browser-window-spec.js

index bd4e6ea..f698121 100644 (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({