Sami Vaarala
7ad4a51d8f
Use wasm for dukweb.js
Also fix async load handling in dukweb: delay dukwebSetup() until
the emcc-compiled Duktape code is fully initialized. This matters
with wasm compilation because loading is actually asynchronous.
5 years ago
Sami Vaarala
2a4bf6fe3f
Dukweb compilation fixes
5 years ago
Sami Vaarala
be2328806a
Consistent meta charset for HTML pages
6 years ago
Sami Vaarala
e13d220b76
Update jQuery 1.11.0 -> 1.11.2
7 years ago
Sami Vaarala
be446a7e32
Dukweb tidy trivia
8 years ago
Sami Vaarala
0ed17b3143
Fix some ArrayBuffer -> Uint8Array references
8 years ago
Sami Vaarala
5f35d229aa
Update dukweb example to reworked buffer bindings
8 years ago
Sami Vaarala
7bd020ff80
Dukweb updates for panic removal
Also improve fatal handling so that fatal reason is added to the alert
message. Also add an extra "throw" after alert dismissal which gets
logged in the browser console.
9 years ago
Sami Vaarala
37e7460f8c
Add a minimal console binding to Dukweb
9 years ago
Sami Vaarala
998b963eb6
Firefox fix for #code
10 years ago
Sami Vaarala
4b58c020e2
Init dukweb and #code in doc .ready()
10 years ago
Sami Vaarala
e044ed846e
Add #code URI support to Dukweb
10 years ago
Sami Vaarala
79aa15a48a
Dukweb minimal styling to be closer to duktape.org
10 years ago
Sami Vaarala
f09a6e8545
dukweb.js now works under Firefox
11 years ago
Sami Vaarala
26cd3fa659
jsonx -> jx rename
11 years ago
Sami Vaarala
47397d4610
dukweb fatal error handler typing fix
11 years ago
Sami Vaarala
ff19c80c70
add more duktape specific examples to dukweb default input to make it clearer that it is executed with Duktape, not the browser
11 years ago
Sami Vaarala
bd2a2e4058
use duk_peval() and duk_safe_to_string() in dukweb
11 years ago
Sami Vaarala
b8eed34aea
dukweb fixes for lack of errhandler index
11 years ago
Sami Vaarala
fbc8544219
dukweb fatal/panic handlers, now call alert() in browser
11 years ago
Sami Vaarala
6ca336b57f
fatal handler
11 years ago
Sami Vaarala
4b702bdd8a
dukweb css trivia
11 years ago
Sami Vaarala
314d3f95af
add a 'REPL' nav link, which points to the placeholder Dukweb page, Dukweb trivia
11 years ago
Sami Vaarala
d27dc16136
make Dukweb.alert() call browser alert even if Duktape's alert() is bound like print
11 years ago
Sami Vaarala
c4662948ac
dukweb trivia
11 years ago
Sami Vaarala
4d1eafb6a2
add detection of dukweb init error (e.g. for firefox now), a bit more styling, naming cleanups
11 years ago
Sami Vaarala
6e647b6427
minor dukweb_test tweaks
11 years ago
Sami Vaarala
6a4de61167
add DukWeb.eval() so that Duktape code can interface with web side, some styling etc
11 years ago
Sami Vaarala
5bc2b07f71
a bit more work on Dukweb test page, now works on Chromium nicely
11 years ago
Sami Vaarala
b82e5766b1
initial draft of dukweb.js, which allows Duktape VM to run inside a web page through Emscripten
11 years ago