mirror of
https://github.com/google/blockly.git
synced 2025-12-16 06:10:12 +01:00
New jsinterpreter demo includes wait block. Both demos have improved UI for clarity. (#1001)
Refactor of interpreter demo * Renamed demos/interpreter/index.html as demos/interpreter/step-execution.html (including redirect), and added demos/interpreter/async-execution.html. * Refactored code to automatically generate/parse the blocks, eliminating the need for a "Parse JavaScript" button. Code is still shown in alert upon stepping to the first statement. Print statements now write to output <textarea> instead of modal dialogs.
This commit is contained in:
committed by
GitHub
parent
db26c4c541
commit
fb020f1c06
@@ -107,8 +107,9 @@
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<div><a href="interpreter/index.html">JS Interpreter</a></div>
|
||||
<div>Step by step execution in JavaScript.</div>
|
||||
<div style="font-weight: bold">JS Interpreter</div>
|
||||
<div>Demo #1: <a href="interpreter/step-execution.html">Step by step execution in JavaScript.</a></div>
|
||||
<div>Demo #2: <a href="interpreter/async-execution.html">Asynchronous execution in JavaScript.</a></div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user