-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathminimvp-demo.html
53 lines (46 loc) · 1.65 KB
/
minimvp-demo.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
<html>
<head>
<title>Mini-MVP ClojureScript Library Unit Tests</title>
<link type="text/css" rel="stylesheet" href="css/common.css">
<link type="text/css" rel="stylesheet" href="css/demo.css">
<link type="text/css" rel="stylesheet" href="css/colormenubutton.css">
<link type="text/css" rel="stylesheet" href="css/menubutton.css">
<link rel="stylesheet" href="css/roundedtab.css">
<link rel="stylesheet" href="css/tab.css">
<link rel="stylesheet" href="css/tabbar.css">
<link rel="stylesheet" href="css/qunit-git.css">
</head>
<body>
<!-- Demo stuff -->
<hr>
<h1>MiniMVP DEMO!</h1>
<!-- Entering/dealing with text -->
<div id="text">
<!-- Closure -->
<input id="text1" type="text">
<!-- via jQuery -->
<input id="text2" type="text">
</div>
<hr>
<!-- Checkboxes/boolean -->
<div id="boolean model">
</div>
<!-- The buttons will go in here-->
<div id="buttons"></div>
<!-- The demo area -->
<hr>
<div id="error">
Error: <span id="error-message">Some error</span>
</div>
<p>Enter your age: <input id="input-control"></p>
<!-- load the scripts, they will run unit tests and hook up to the rest of the page -->
<script type="text/javascript" src="out/goog/base.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<script type="text/javascript" src="lib/qunit-git.js"></script>
<script type="text/javascript" src="minimvp.js"></script>
<script>
goog.require('minimvp.demo.demo');
minimvp.demo.demo();
</script>
</body>
</html>