Use consistent function styles
This commit is contained in:
parent
0b4b79d0a4
commit
8d0c5c30b8
1 changed files with 1 additions and 1 deletions
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue