summaryrefslogtreecommitdiff
path: root/index.htm
diff options
context:
space:
mode:
Diffstat (limited to 'index.htm')
-rw-r--r--index.htm6
1 files changed, 4 insertions, 2 deletions
diff --git a/index.htm b/index.htm
index b529d83..ed5ff78 100644
--- a/index.htm
+++ b/index.htm
@@ -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,