electron/spec/main.js
2013-07-17 16:28:14 +08:00

14 lines
313 B
JavaScript

var app = require('app');
var BrowserWindow = require('browser-window');
var window = null;
app.on('finish-launching', function() {
window = new BrowserWindow({
title: 'atom-shell tests',
width: 800,
height: 600
});
window.loadUrl('file://' + __dirname + '/index.html');
window.focus();
});