build: enable JS semicolons (#22783)
This commit is contained in:
parent
24e21467b9
commit
5d657dece4
354 changed files with 21512 additions and 21510 deletions
10
spec/fixtures/api/window-open-preload.js
vendored
10
spec/fixtures/api/window-open-preload.js
vendored
|
@ -1,9 +1,9 @@
|
|||
const { ipcRenderer } = require('electron')
|
||||
const { ipcRenderer } = require('electron');
|
||||
|
||||
setImmediate(function () {
|
||||
if (window.location.toString() === 'bar://page/') {
|
||||
const windowOpenerIsNull = window.opener == null
|
||||
ipcRenderer.send('answer', process.argv, typeof global.process, windowOpenerIsNull)
|
||||
window.close()
|
||||
const windowOpenerIsNull = window.opener == null;
|
||||
ipcRenderer.send('answer', process.argv, typeof global.process, windowOpenerIsNull);
|
||||
window.close();
|
||||
}
|
||||
})
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue