mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-05-28 15:13:21 +08:00
Record all objects created by API in browser.
This commit is contained in:
@@ -7,6 +7,8 @@ atom.browserMainParts.preMainMessageLoopRun = function() {
|
||||
mainWindow = new Window({ width: 800, height: 600 });
|
||||
mainWindow.url = 'file://' + __dirname + '/index.html';
|
||||
|
||||
console.log(mainWindow.id);
|
||||
|
||||
mainWindow.on('page-title-updated', function(event, title) {
|
||||
event.preventDefault();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user