Skip to content

Commit dd8a937

Browse files
committed
Manually update the demo with print to textarea
1 parent 5bc7ffa commit dd8a937

4 files changed

Lines changed: 2 additions & 21 deletions

File tree

1.bootstrap.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bf514fdfcc85db97df06.module.wasm

2.34 MB
Binary file not shown.

bootstrap.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.html

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,8 @@
33
<head>
44
<meta charset="utf-8">
55
<title>RustPython Starter Application</title>
6-
<style type="text/css" media="screen">
7-
#code {
8-
height: 70vh;
9-
width: 95vw;
10-
}
11-
12-
#run-btn {
13-
width: 10em;
14-
height: 5em;
15-
}
16-
</style>
176
</head>
187
<body>
19-
<h1>RustPython Demo</h1>
20-
<p>Please input your python code below and click <kbd>Run</kbd>:</p>
21-
<textarea id="code">x = 1
22-
y = 2
23-
print('Hello! x + y equals to ' + str(x+y))
24-
</textarea>
25-
<button id="run-btn">Run</button>
26-
<h2>Open the browser console (<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>I</kbd> or <kbd>F12</kbd>) to see the output</h2>
278
<script src="./bootstrap.js"></script>
289

2910
<a href="https://github.com/RustPython/RustPython"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png" alt="Fork me on GitHub"></a>

0 commit comments

Comments
 (0)