python-emscripten  Check-in [4210f84087]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:webprompt: make it clearer that computing is happening
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:4210f8408706adebf3c575bd5c4bafb8df155c10074ef347d84b550dc73db27e
User & Date: Beuc 2020-05-08 16:24:20
Context
2020-05-08
16:25
webprompt: fix native test check-in: f221e978c5 user: Beuc tags: trunk
16:24
webprompt: make it clearer that computing is happening check-in: 4210f84087 user: Beuc tags: trunk
2020-04-25
15:39
Update template URL check-in: ab35ffd722 user: Beuc tags: trunk
Changes

Changes to webprompt-shell.html.

61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
    <hr/>
    
    <div class="emscripten"><a href="https://www.beuc.net/python-emscripten/python/dir?ci=tip">python-emscripten</a> bare-bones demo</div>
    
    <hr/>
    <textarea class="emscripten" id="output" rows="8" readonly="readonly"></textarea>

    <input type="text" class="emscripten" id="input" name="text" value="{'REPL':'press enter'}" />
    <textarea class="emscripten" id="file" rows="8"># Python script
def f(x):
    return x**2
print("hello, world!")
</textarea>
    <button class="emscripten" onclick="execute()">Execute</button>
    <hr>

    <script type='text/javascript'>
      var statusElement = document.getElementById('status');
      var progressElement = document.getElementById('progress');







|



|







61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
    <hr/>
    
    <div class="emscripten"><a href="https://www.beuc.net/python-emscripten/python/dir?ci=tip">python-emscripten</a> bare-bones demo</div>
    
    <hr/>
    <textarea class="emscripten" id="output" rows="8" readonly="readonly"></textarea>

    <input type="text" class="emscripten" id="input" name="text" value="{'REPL':['press enter',2+2]}" />
    <textarea class="emscripten" id="file" rows="8"># Python script
def f(x):
    return x**2
print("hello, world!", f(3))
</textarea>
    <button class="emscripten" onclick="execute()">Execute</button>
    <hr>

    <script type='text/javascript'>
      var statusElement = document.getElementById('status');
      var progressElement = document.getElementById('progress');