pmp-p / micropython-ports-wasm

*experimental* wasm micropython port *not a fork* for Pythons Everywhere
http://pmp-p.github.io/layout.html
38 stars 1 forks source link

[FIX] README steps fails: nothing shown on textarea #6

Closed alanjds closed 5 years ago

alanjds commented 5 years ago

The file pythons.js throws on line 278 when index.html is ran.

Console:

Uncaught TypeError: Cannot set property 'textContent' of null
    at VM73 pythons.js:278

pythons.js:278-279:

document.getElementById('test').textContent = "THIS IS A TEST BLOCK\n"
document.title="THIS IS A TEST TITLE"
pmp-p commented 5 years ago

Thanks for testing ! i'm setting up new samples here https://pmp-p.github.io, and probably need to setup a cdn for precompiled files because there may be a regression in async compilation with emscripten, at least for non wasm streaming webserver.