-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
64 lines (62 loc) · 1.18 KB
/
index.html
File metadata and controls
64 lines (62 loc) · 1.18 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Code editor</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
<script src="libs/ace/ace.js" type="text/javascript" charset="utf-8"></script>
<script src="libs/ace/ext-language_tools.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<div id="code_editor">function foo(items) {
var x = "All this is syntax highlighted";
return x;
}
</div>
<div id="json_editor">
{
"orderID": 12345,
"shopperName": "John Smith",
"shopperEmail": "johnsmith@example.com",
"contents": [
{
"productID": 34,
"productName": "SuperWidget",
"quantity": 1
},
{
"productID": 56,
"productName": "WonderWidget",
"quantity": 3
}
],
"orderCompleted": true,
"response": {
"data": [
{
"month": "2014-07-01",
"managers": [
{
"name": "Dixie Powell",
"deal_count":
{
"month": "2014-07-01",
"managers": [
{
"name": "Dixie Powell",
"deal_count": 23,
"sale_sum": 2853
},
]
},
"sale_sum": 2853
},
]
},
]
}
}
</div>
<script src="scr/codeEditor.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>