mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-12-29 01:27:00 +03:00
d989aeb592
This is required now that root view has a tab index
28 lines
672 B
HTML
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>
|