Merge pull request #36 from leaningtech/versioning

Use a flexible version
This commit is contained in:
Jules Saarikoski 2022-07-21 11:40:03 +02:00 committed by GitHub
commit 603503d5ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,7 +101,7 @@
" | |", " | |",
" +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+", " +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+",
"", "",
" Welcome to WebVM (build 20220509). If unsure, try these examples:", " Welcome to WebVM (build CX_VERSION). If unsure, try these examples:",
"", "",
" python3 examples/python3/fibonacci.py ", " python3 examples/python3/fibonacci.py ",
" gcc -o helloworld examples/c/helloworld.c && ./helloworld", " gcc -o helloworld examples/c/helloworld.c && ./helloworld",
@ -305,7 +305,7 @@
var script = document.createElement('script'); var script = document.createElement('script');
script.type = 'text/javascript'; script.type = 'text/javascript';
var cxFile = "https://cheerpxdemos.leaningtech.com/publicdeploy/20220509_500/cx.js"; var cxFile = "https://cheerpxdemos.leaningtech.com/publicdeploy/CX_VERSION/cx.js";
script.src = cxFile; script.src = cxFile;
script.addEventListener("load", runBash, false); script.addEventListener("load", runBash, false);