pulsar/static/index.html
Kevin Sawicki d989aeb592 Focus body when root view has no focusable children
This is required now that root view has a tab index
2013-10-16 13:35:11 -07:00

28 lines
672 B
HTML

<!DOCTYPE html>
<html style="background: #fff">
<head>
<title></title>
<script>
window.onload = function() {
var currentWindow = require('remote').getCurrentWindow();
try {
require('coffee-script');
require('../src/coffee-cache').register();
require(currentWindow.loadSettings.bootstrapScript);
currentWindow.emit('window:loaded');
}
catch (error) {
currentWindow.setSize(800, 600);
currentWindow.center();
currentWindow.show();
currentWindow.openDevTools();
console.error(error.stack || error);
}
}
</script>
</head>
<body tabindex="-1">
</body>
</html>