mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
29 lines
658 B
HTML
29 lines
658 B
HTML
<html>
|
|
<head>
|
|
<script src='../src/stdlib/require.js'></script>
|
|
|
|
<script>
|
|
window.onload = function() {
|
|
try {
|
|
window.location.params = {}
|
|
var params = window.location.search.substring(1).split('&')
|
|
params.forEach(function(param) {
|
|
var pair = param.split("=")
|
|
window.location.params[pair[0]] = pair[1];
|
|
});
|
|
|
|
var bootstrapScript = window.location.params.bootstrapScript;
|
|
if (bootstrapScript) require(bootstrapScript);
|
|
}
|
|
catch (error) {
|
|
atom.showDevTools();
|
|
console.error(error.stack || error);
|
|
}
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
</body>
|
|
</html>
|
|
|