-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html~
58 lines (48 loc) · 1.11 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<div>
<p><textarea id="entry-string" rows="10" cols="50" name="text" value="if(1>3)console.log(1)else console.log(2)"></textarea></p>
<p><input type="submit" value="run!" onclick="main()"></p>
<p id="info">Compilation info: </p>
<div id="console-emulator"></div>
<h2>Вивід псевдокоду</h2>
<div id="result"></div>
</div>
<script src = 'bower_components/esprima/esprima.js'></script>
<script src="json-tree.js"></script>
<script src="main.js"></script>
<style>
pre {
-o-tab-size: 30%;
-moz-tab-size: 30;
tab-size:30;
}
li {
color: #3F51B5;
}
span {
color: #E65100;
}
pre {
left: 5%;
position: relative;}
.Error{
color:red;
}
#console-emulator {
width: 640px;
height: auto;
background-color: rgba(20, 36, 43, 0.96);
color: white;
}
</style>
<script>
//document.getElementById('entry-string').textContent = testString;
</script>
</body>
</html>