Files
atom/static/index.html
Corey Johnson & Nathan Sobo d20ba7171a Assign $windowNumber in index.html
2012-08-27 17:09:53 -07:00

29 lines
729 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];
});
window.$windowNumber = window.location.params.windowNumber
var bootstrapScript = window.location.params.bootstrapScript;
if (bootstrapScript) require(bootstrapScript);
}
catch (error) {
//$native.showDevTools();
console.error(error.stack || error);
}
}
</script>
</head>
<body>
</body>
</html>