forked from inexorabletash/jslogo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathasync_yield.htm
24 lines (20 loc) · 1.01 KB
/
async_yield.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<title>Logo Interpreter - Experimental Async Version</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<link rel="alternate" type="application/atom+xml" href="https://github.com/inexorabletash/jslogo/commits/master.atom">
<script type="text/javascript">var LOGO_SLEEP = true;</script>
<script type="text/javascript" src="async.js"></script>
<link rel="stylesheet" href="logo.css">
<div id="display">
<canvas id="sandbox" width="760" height="480">
<span>Your browser does not support the canvas element - sorry!</span>
</canvas>
<canvas id="turtle" width="760" height="480"></canvas>
<div id="overlay"></div>
</div>
<div id="input">
<input id="entry_single" type="text">
<textarea rows="20" cols="80" id="entry_multi" style="display: none;"></textarea>
<input id="run" type="button" value="run" title="Run the specified statements" />
<input id="toggle" type="button" value="+" title="Switch between a single line and multi-line entry area"/>
</div>