diff options
Diffstat (limited to 'index.htm')
-rw-r--r-- | index.htm | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -62,7 +62,9 @@ }, } ).then((program) => { - program.exports.js_main(options.processorOptions.href); + program.exports.js_main( + options.processorOptions.href // FIXME + ); this.memory_buffer = program.exports.memory.buffer; this.sound_buffer_address = program.exports.js_sound_buffer(); @@ -497,7 +499,7 @@ sound_node.port.postMessage({ id : "paste", - bytes : new TextEncoder("utf-8").encode(ev.clipboardData.getData("text")), + bytes : new TextEncoder("utf8").encode(ev.clipboardData.getData("text")), mod : paste_mod, key : KEY_PASTE, ch : paste_ch, |