-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsandbox.html
39 lines (36 loc) · 1.16 KB
/
sandbox.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs">
<head>
<meta charset="utf-8"/>
<title>Custom sandbox for turtle.run</title>
<link rel="stylesheet" href="lib/external/CodeMirror/lib/codemirror.css">
<script src="lib/external/CodeMirror/lib/codemirror.js"></script>
<link rel="stylesheet" href="lib/CodeMirror/lib/codemirror.css">
<script src="lib/external/CodeMirror/mode/javascript/javascript.js"></script>
<script src="lib/external/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="lib/external/underscore-min.js"></script>
<script src="lib/external/raphael-min.js"></script>
<script src="js/quickcheck.js"></script>
<script src="js/examine.js"></script>
<script src="js/turtle.js"></script>
<script src="js/sandbox.js"></script>
</head>
<body>
<div id="turtleSpace" style="float: right"></div>
<textarea id="editorArea">
go(30);
right(20);
go(30);
penUp();
go(30);
right(100);
go(30);
penDown();
color(red);
go(30);
right(20);
go(30);
</textarea>
<input id="evalButton" type="button" value="Eval!"/>
</body>
</html>