-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (45 loc) · 1.07 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
36
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Maze Explorer</title>
<script type="text/javascript">
var djConfig = {
isDebug: false,
parseOnLoad: true,
baseUrl: './',
modulePaths: {'mazeexplorer' : 'mazeexplorer'}
};
</script>
<script src="http://ajax.googleapis.com/ajax/libs/dojo/1.5.0/dojo/dojo.xd.js"></script>
<script type="text/javascript" src="/libs/uow/trace.js"></script>
<script type="text/javascript" src="/libs/uow.js"></script>
<script type="text/javascript">
dojo.require('dojo.parser');
dojo.require('mazeexplorer.MazeWidget');
</script>
<style type="text/css">
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
#mazeWidget {
display: none;
text-align: center;
}
#mazeWidget.debug {
display: block;
}
canvas {
background: red;
display: block;
margin: 1em auto;
}
</style>
</head>
<body>
<div dojoType="mazeexplorer.MazeWidget" id="mazeWidget"></div>
</body>
</html>