From 4dd8b6ac322c93db20e8c40867c2cd6bb454589a Mon Sep 17 00:00:00 2001 From: Thomas Tay Date: Mon, 19 Dec 2022 12:50:37 -0800 Subject: Typo in previous PR causing unbalanced braces (#2106) Sorry, fixed now. Didn't balance my braces. Thats what you get for editing in the Github editor, opened this file in vscode with the fix now, and no problems reported --- docs/demo/wat2wasm/demo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/demo/wat2wasm/demo.js') diff --git a/docs/demo/wat2wasm/demo.js b/docs/demo/wat2wasm/demo.js index 1fcd42cb..66f44736 100644 --- a/docs/demo/wat2wasm/demo.js +++ b/docs/demo/wat2wasm/demo.js @@ -119,7 +119,7 @@ function compile() { binaryBuffer = binaryOutput.buffer; // binaryBuffer is a Uint8Array, so we need to convert it to a string to use btoa // https://stackoverflow.com/questions/12710001/how-to-convert-uint8-array-to-base64-encoded-string - outputBase64 = btoa((String.fromCharCode.apply(null, binaryBuffer)); + outputBase64 = btoa(String.fromCharCode.apply(null, binaryBuffer)); var blob = new Blob([binaryOutput.buffer]); if (binaryBlobUrl) { -- cgit v1.2.3