Expose interface of NativeWindow in javascript.

This commit is contained in:
Cheng Zhao 2013-04-17 22:49:49 +08:00
parent 60528e53ee
commit df50cc08d6
8 changed files with 325 additions and 11 deletions

View file

@ -5,4 +5,8 @@ var mainWindow = null;
atom.browserMainParts.preMainMessageLoopRun = function() {
mainWindow = new Window({ width: 800, height: 600 });
setTimeout(function() {
mainWindow.destroy();
}, 10000);
}