Files
atom/static/index.html
2013-09-20 10:02:20 -07:00

30 lines
723 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');
Object.defineProperty(require.extensions, '.coffee', {
writable: false,
value: require.extensions['.coffee']
});
require(currentWindow.loadSettings.bootstrapScript);
currentWindow.emit('window:loaded');
}
catch (error) {
currentWindow.show();
currentWindow.openDevTools();
console.error(error.stack || error);
}
}
</script>
</head>
<body>
</body>
</html>