Record all objects created by API in browser.

This commit is contained in:
Cheng Zhao 2013-04-20 21:52:46 +08:00
parent 17a9c2aea5
commit 683087fbc4
10 changed files with 163 additions and 9 deletions

View file

@ -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();