Add partial APIs for WebContents and NavigationController.
This commit is contained in:
parent
257e439efb
commit
d06472b092
4 changed files with 263 additions and 61 deletions
|
@ -5,8 +5,5 @@ var mainWindow = null;
|
|||
|
||||
atom.browserMainParts.preMainMessageLoopRun = function() {
|
||||
mainWindow = new Window({ width: 800, height: 600 });
|
||||
|
||||
setTimeout(function() {
|
||||
mainWindow.destroy();
|
||||
}, 10000);
|
||||
mainWindow.loadURL('file://' + __dirname + '/index.html');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue