squeed
This commit is contained in:
parent
631b620b47
commit
09219e12b4
5 changed files with 26 additions and 2 deletions
11
client/.vscode/tasks.json
vendored
Normal file
11
client/.vscode/tasks.json
vendored
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||||
|
// for the documentation about the tasks.json format
|
||||||
|
"version": "0.1.0",
|
||||||
|
"command": "tsc",
|
||||||
|
"isShellCommand": true,
|
||||||
|
"args": ["-w", "-p", "."],
|
||||||
|
//"showOutput": "silent",
|
||||||
|
"isBackground": true,
|
||||||
|
"problemMatcher": "$tsc-watch"
|
||||||
|
}
|
7
client/game.js
Normal file
7
client/game.js
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
var FileCache = (function () {
|
||||||
|
function FileCache() {
|
||||||
|
}
|
||||||
|
FileCache.Initialize = function () {
|
||||||
|
};
|
||||||
|
return FileCache;
|
||||||
|
}());
|
|
@ -3,7 +3,7 @@
|
||||||
<head>
|
<head>
|
||||||
<title>CircleScape</title>
|
<title>CircleScape</title>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<script type="text/javascript" src=""></script>
|
<script type="text/javascript" src="game.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<canvas id="cs">
|
<canvas id="cs">
|
||||||
|
|
6
client/src/Init.js
Normal file
6
client/src/Init.js
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
window.indexedDB = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB;
|
||||||
|
window.IDBTransaction = window.IDBTransaction || window.webkitIDBTransaction || window.msIDBTransaction;
|
||||||
|
window.IDBKeyRange = window.IDBKeyRange || window.webkitIDBKeyRange || window.msIDBKeyRange
|
||||||
|
|
||||||
|
if (!window.indexedDB)
|
||||||
|
window.alert("Your browser doesn't support a stable version of IndexedDB.");
|
Loading…
Reference in a new issue