-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
59 lines (56 loc) · 1.97 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
<html>
<head>
<!-- <link rel="stylesheet" href="http://codemirror.net/lib/codemirror.css"> -->
<!-- <link rel="stylesheet" href="http://codemirror.net/lib/addon/lint/lint.css"> -->
<link rel="stylesheet" href="app.css">
<!-- <script src="http://codemirror.net/lib/codemirror.js"></script> -->
<!-- <script src="http://codemirror.net/addon/edit/matchbrackets.js"></script> -->
<!-- <script src="http://codemirror.net/addon/edit/continuecomment.js"></script> -->
<!-- <script src="http://codemirror.net/addon/lint/lint.js"></script> -->
<!-- <script src="https://rawgithub.com/zaach/jsonlint/79b553fb65c192add9066da64043458981b3972b/lib/jsonlint.js"></script> -->
<!-- <script src="http://codemirror.net/addon/lint/json-lint.js"></script> -->
<!-- <script src="http://codemirror.net/mode/javascript/javascript.js"></script> -->
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/ajv/6.0.1/ajv.min.js"></script> -->
<script src="lib.js"></script>
<script src="app.js"></script>
</head>
<body>
<style>
body {
background: #f1f1f1;
}
#input-cnt {
position: absolute;
top: 10px;
right: 440px;
display: block;
bottom: 10px;
left: 10px;
}
.CodeMirror { height: 100%; }
#input {
/* display: block; */
/* width: 100%; */
/* height: 100%; */
}
#errors {
padding: 10px;
position: absolute;
width: 380px;
top: 0;
bottom: 0;
right: 0;
}
.error {
color: #d44950;
}
.success {
color: #0a8;
}
</style>
<div id="input-cnt">
<textarea id="input"></textarea>
</div>
<ul id="errors"></div>
</body>
</html>