chore: tsify web-contents (#24325)

This commit is contained in:
Jeremy Rose 2020-07-06 10:50:03 -07:00 committed by GitHub
parent 82af855579
commit 1f23807271
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 168 additions and 140 deletions

View file

@ -12,7 +12,7 @@ app.whenReady().then(function () {
callback('Hello World!');
});
web.webContents.loadURL('test://abc/hello.txt');
web.loadURL('test://abc/hello.txt');
web.webContents.on('did-finish-load', () => app.quit());
web.on('did-finish-load', () => app.quit());
});