mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Use consistent function styles
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user