Skip to content

Commit

Permalink
misc/wasm: add missing semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
silbinarywolf committed Sep 2, 2018
1 parent 75c2b51 commit 381b541
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions misc/wasm/wasm_exec.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// Add polyfill for TextEncoder and TextDecoder for Microsoft Edge 17/18 support
// https://caniuse.com/#feat=textencoder
if (!window.TextEncoder) {
window.TextEncoder = function(){}
window.TextEncoder = function(){};
TextEncoder.prototype.encode = function (string) {
const octets = [];
const length = string.length;
Expand Down Expand Up @@ -50,7 +50,7 @@
};
}
if (!window.TextDecoder) {
window.TextDecoder = function(){}
window.TextDecoder = function(){};
TextDecoder.prototype.decode = function (octets) {
let string = "";
let i = 0;
Expand Down

0 comments on commit 381b541

Please sign in to comment.