-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
35 lines (34 loc) · 1.08 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>BattleMonsters</title>
<script src="lib/kiwijs/build/kiwi.js"></script>
<script src="lib/easystarjs/bin/easystar-0.2.3.js"></script>
<script src="plugins/damage-pipeline-1.0.0.min.js"></script>
<script src="plugins/pathFinding.js"></script>
<script src="node_modules/systemjs/dist/system.js"></script>
<script src="node_modules/typescript/lib/typescript.js"></script>
<script src="node_modules/socket.io-client/socket.io.js"></script>
</head>
<body style="margin:0px;padding:0px">
<div id="content"></div>
</body>
<script>
System.config({
transpiler: 'typescript',
packages: {
src: {
defaultExtension: 'ts'
}
},
paths: {
'node/*': 'node_modules/*'
},
packageConfigPaths: ['node_modules/*/package.json']
});
System
.import('src/game')
.then(null, console.error.bind(console));
</script>
</html>