2014-12-28 00:00:00 +00:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8"/>
|
|
|
|
<title>SpaceTac</title>
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="main.css">
|
2015-01-08 00:00:00 +00:00
|
|
|
<!-- build:remove -->
|
2014-12-30 00:00:00 +00:00
|
|
|
<link rel="stylesheet" href="vendor/jasmine/lib/jasmine-core/jasmine.css">
|
2015-01-08 00:00:00 +00:00
|
|
|
<!-- /build -->
|
2014-12-28 00:00:00 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
2014-12-30 00:00:00 +00:00
|
|
|
<div id="-space-tac" class="game"></div>
|
2014-12-28 00:00:00 +00:00
|
|
|
|
2014-12-30 00:00:00 +00:00
|
|
|
<!-- build:remove -->
|
|
|
|
<script src="http://localhost:35729/livereload.js"></script>
|
|
|
|
<!-- /build -->
|
2014-12-28 00:00:00 +00:00
|
|
|
|
2014-12-30 00:00:00 +00:00
|
|
|
<!-- build:js all.min.js -->
|
|
|
|
<script src="vendor/jasmine/lib/jasmine-core/jasmine.js"></script>
|
|
|
|
<script src="vendor/jasmine/lib/jasmine-core/jasmine-html.js"></script>
|
|
|
|
<script src="vendor/jasmine/lib/jasmine-core/boot.js"></script>
|
|
|
|
<script src="vendor/phaser-official/build/phaser.js"></script>
|
|
|
|
<script src="main.js"></script>
|
|
|
|
<!-- /build -->
|
2014-12-28 00:00:00 +00:00
|
|
|
|
2014-12-30 00:00:00 +00:00
|
|
|
<script>
|
|
|
|
var currentWindowOnload = window.onload;
|
|
|
|
window.onload = function () {
|
|
|
|
<!-- build:remove -->
|
|
|
|
if (currentWindowOnload) {
|
|
|
|
currentWindowOnload();
|
|
|
|
}
|
|
|
|
<!-- /build -->
|
2014-12-31 00:00:00 +00:00
|
|
|
var queryString = new jasmine.QueryString({
|
|
|
|
getWindowLocation: function() { return window.location; }
|
|
|
|
});
|
2015-01-08 00:00:00 +00:00
|
|
|
if (queryString.getParam('onlytests')) {
|
|
|
|
document.getElementById("-space-tac").hidden = true;
|
|
|
|
} else {
|
2014-12-31 00:00:00 +00:00
|
|
|
new SpaceTac.GameRouter();
|
|
|
|
}
|
2014-12-30 00:00:00 +00:00
|
|
|
};
|
|
|
|
</script>
|
2014-12-28 00:00:00 +00:00
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|