mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-08 08:07:32 +03:00
33 lines
880 B
HTML
33 lines
880 B
HTML
<!DOCTYPE html>
|
|
<html style="background: #333">
|
|
<head>
|
|
<title></title>
|
|
|
|
<script>
|
|
window.location.params = {}
|
|
var params = window.location.search.substring(1).split('&')
|
|
params.forEach(function(param) {
|
|
var pair = param.split("=")
|
|
window.location.params[decodeURIComponent(pair[0])] = decodeURIComponent(pair[1]);
|
|
});
|
|
|
|
window.resourcePath = window.location.params.resourcePath
|
|
var bootstrapScript = window.location.params.bootstrapScript;
|
|
|
|
window.onload = function() {
|
|
try {
|
|
require('coffee-script');
|
|
require('coffee-cache').setCacheDir('/tmp/atom-coffee-cache');
|
|
if (bootstrapScript) require(bootstrapScript);
|
|
}
|
|
catch (error) {
|
|
if (atom && atom.showDevTools) { atom.showDevTools(); }
|
|
console.error(error.stack || error);
|
|
}
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
</body>
|
|
</html>
|