forked from melonHuang/nova
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
104 lines (86 loc) · 3.67 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
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" / >
<title></title>
</head>
<body>
<div class="log"></div>
<script>
var html = '';
var logDiv = document.querySelector('.log');
var errors = [];
window.onerror = function(msg) {
html += msg + '\n'
errors.push(msg);
logDiv.innerHTML = (html);
}
</script>
<script src="build/nova.js"></script>
<!--
<script src="http://s1.qhimg.com/static/6f00f61ba3733f4d/requirejs.js"></script>
<script src="http://s2.qhimg.com/static/a9e451ace7e1fd1d/zepto.114.js"></script>
<script src="http://s4.qhimg.com/static/b445fa99b9eb8342/markdown.min.js"></script>
<script src="http://hw.weinre.com/target/target-script-min.js#anonymous"></script>
<script src="src_babel/nova_bootstrap.js"></script>
<script src="src_babel/lib/css_parse.js"></script>
<script src="src_babel/lib/case_map.js"></script>
<script src="src_babel/lib/utils.js"></script>
<script src="src_babel/lib/initial.js"></script>
<script src="src_babel/style.js"></script>
<script src="src_babel/event_behavior.js"></script>
<script src="src_babel/aspect_behavior.js"></script>
<script src="src_babel/properties_behavior.js"></script>
<script src="src_babel/template/expression_parser.js"></script>
<script src="src_babel/template/expression_evaluator.js"></script>
<script src="src_babel/template/template_behavior.js"></script>
<script src="src_babel/style_behavior.js"></script>
<script src="src_babel/base.js"></script>
<script src="src_babel/components/template-repeat.js"></script>
<script src="src_babel/components/template-if.js"></script>
<script src="src_babel/components/template-repeat-item.js"></script>
-->
<link rel="import" href="components/my-test/my-inner.html" />
<link rel="import" href="components/my-test/my-wrap.html" />
<link rel="import" href="components/my-test/test-if.html" />
<link rel="import" href="components/my-test/test-repeat.html" />
<link rel="import" href="components/my-test/test-template.html" />
<link rel="import" href="components/todo-list/main.html" />
<link rel="import" href="components/nova-doT/main.html" />
<link rel="import" href="components/nova-markdown/main.html" />
<link rel="import" href="components/nova-demo/main.html" />
<!--
<link rel="import" href="components/nova-markdown-editor/main.html" />
<script src="components/my-test/my-wrap.js"></script>
<script src="components/my-test/my-inner.js"></script>
<script src="components/my-test/test-if.js"></script>
<script src="components/my-test/test-repeat.js"></script>
<script src="components/my-test/test-template.js"></script>
<script src="components/todo-list/main.js"></script>
<script src="components/nova-doT/main.js"></script>
<script src="components/nova-markdown/main.js"></script>
-->
<script src="build/nova_dev.js" base-url="/nova"></script>
<!--
<my-wrap></my-wrap>
<test-template></test-template>
<test-if></test-if>
<test-repeat></test-repeat>
<todo-list></todo-list>
<nova-doT data='[1,2,3]'>
<script type="text/tmpl">
<select>
{{~ it :v:index}}
<option value="{{= v}}">{{= v}}</option>
{{~}}
</select>
</script>
</nova-doT>
<nova-markdown-editor></nova-markdown-editor>
<nova-markdown> # hehe </nova-markdown>
-->
<markdown-editor></markdown-editor>
<script></script>
</body>
</html>