-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathparser.html
27 lines (27 loc) · 1.38 KB
/
parser.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<link rel="stylesheet/less" type="text/css" href="parser.less">
<script src="https://cdn.jsdelivr.net/jquery/2.2.3/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/less/2.7.1/less.min.js"></script>
<script>
jQuery.fn.outerHTML = function() {
return jQuery('<div />').append(this.eq(0).clone()).html();
};
</script>
<script src="parser.js"></script>
</head>
<body onload="onload();">
<textarea id="input">[0, 1, 0, 0, 0, 1, 1, 2, 0, 0, 0, 3, 6, 51, 98, 0, 0, 115, 75, -61, -74, 105, 110, 103, 0, 7, 11,0,0,0, 2,0, 1,0,0,0, 2,0,0,0, 8, 12,0,0,0, 2,0, 5,0,0,0, 102,111,111,0, 6,0,0,0, 104,101,108,108,111,0, 2,0, 3,0,0,0, 4,0,0,0]</textarea>
<div id="controls">
<label for="parsers">Parser: <select id="parsers"></select></label>
<label for="renderers">Renderer: <select id="renderers"></select></label>
<label for="submit"><input id="submit" type="submit" onclick="func_render()" value="render!"/></label>
<label for="use_single_row" title="with scroll bar."><input type="checkbox" id="use_single_row" onchange="func_use_single_row();"/> Use single row</label>
</div>
<div id="output"></div>
<img id="legend" src="https://cloud.githubusercontent.com/assets/2737108/12401272/a91e8db2-be25-11e5-85f5-533f6e7f4006.png" />
</body>
</html>