-
Notifications
You must be signed in to change notification settings - Fork 82
/
Copy pathtest.html
83 lines (72 loc) · 2.22 KB
/
test.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<html>
<head>
<title>TremulaJS</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="stylesheet" href="test/css/style.css" media="screen" type="text/css" />
<link rel="stylesheet" href="node_modules/mocha/mocha.css" />
<link rel="stylesheet" href="src/Tremula.css">
<style type="text/css">
.debug{
position: absolute;
bottom:0;
right:0;
width:45%;
height: 400px;
overflow: scroll;
padding: 0 0 0 20px;
margin: 0;
background-color: rgba(255,255,255,.9);
z-index: 10;
}
.debug ul{list-style:none;padding: 0}
.debug ul li {
white-space: nowrap;
padding: 1px;
}
.debug ul li:hover {
background: #339;
color: #fff;
}
.debug ul li span{margin-left: 2em;color:#aaa;}
#mocha{
position: absolute;
bottom: 0;
left: 0;
width: 45%;
max-width: 500px;
min-width: 300px;
height: 400px;
overflow: scroll;
padding: 0 20px 0 0 ;
margin:0px;
background-color: rgba(255,255,255,.9);
z-index: 10;
}
#mocha-stats{position:absolute;}
#mocha .test pre{font-size: 9px}
</style>
<script src="libs/jquery-min.js"></script>
<script src="libs/hammer.js"></script>
<script src="libs/jsBezier-0.6.js"></script>
<script src="node_modules/mocha/mocha.js" type="text/javascript"></script>
<script src="node_modules/chai/chai.js" type="text/javascript"></script>
<!--<script src="node_modules/expect.js/index.js" type="text/javascript"></script>-->
<script src="test/js/index.js" style=""></script>
<script data-main="src/Tremula" src="libs/require.js"></script>
<script src="test/test.js" style=""></script>
</head>
<body>
<div id="mocha"></div>
<div class="pageLayoutContainer">
<a class="plug" href="https://github.com/garris/TremulaJS" target="_blank">TremulaJS on Github</a>
<pre class="debug">DEBUG</pre>
<div class="tremulaContainer"></div>
<h1><a href="https://github.com/garris/TremulaJS" target="_blank">TremulaJS</a></h1>
<span class="cta">Swipe, Scroll, Click & Drag</span>
</div>
<div class="pageFold">
<img src="test/deal-with-it-cat11.jpeg"/>
</div>
</body>
</html>