Improve spec window's default behavior.

This commit is contained in:
Cheng Zhao 2013-07-19 10:47:00 +08:00
parent 99c37fc902
commit 5bbb41415a

View file

@ -3,6 +3,14 @@ var BrowserWindow = require('browser-window');
var window = null;
process.on('uncaughtException', function() {
window.openDevTools();
});
app.on('window-all-closed', function() {
app.terminate();
});
app.on('finish-launching', function() {
window = new BrowserWindow({
title: 'atom-shell tests',