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')
|
var extensionPath = path.join(__dirname, 'fixtures', 'devtools-extensions', 'foo')
|
||||||
BrowserWindow.addDevToolsExtension(extensionPath)
|
BrowserWindow.addDevToolsExtension(extensionPath)
|
||||||
|
|
||||||
w.webContents.on('devtools-opened', () => {
|
w.webContents.on('devtools-opened', function () {
|
||||||
var inputEventIntervalId = setInterval(function () {
|
var inputEventIntervalId = setInterval(function () {
|
||||||
if (w && w.devToolsWebContents) {
|
if (w && w.devToolsWebContents) {
|
||||||
w.devToolsWebContents.sendInputEvent({
|
w.devToolsWebContents.sendInputEvent({
|
||||||
|
|
Loading…
Add table
Reference in a new issue