Expose interface of NativeWindow in javascript.
This commit is contained in:
parent
60528e53ee
commit
df50cc08d6
8 changed files with 325 additions and 11 deletions
|
@ -5,4 +5,8 @@ var mainWindow = null;
|
|||
|
||||
atom.browserMainParts.preMainMessageLoopRun = function() {
|
||||
mainWindow = new Window({ width: 800, height: 600 });
|
||||
|
||||
setTimeout(function() {
|
||||
mainWindow.destroy();
|
||||
}, 10000);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue