aboutsummaryrefslogtreecommitdiffstats
path: root/teleterm
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-11-23 02:13:41 -0500
committerJesse Luehrs <doy@tozt.net>2019-11-23 02:13:41 -0500
commit8e658044e344258f4674c6dc05af6cea7fa29765 (patch)
tree0aa9e5f17eb6847dd3762c8733f9ef1a024fd2f5 /teleterm
parent22e720c27736cec08133df05123c7f384e510fa3 (diff)
downloadteleterm-8e658044e344258f4674c6dc05af6cea7fa29765.tar.gz
teleterm-8e658044e344258f4674c6dc05af6cea7fa29765.zip
restrict the api a bit more
Diffstat (limited to 'teleterm')
-rw-r--r--teleterm/static/teleterm_web.js65
-rw-r--r--teleterm/static/teleterm_web_bg.wasmbin720118 -> 717549 bytes
2 files changed, 33 insertions, 32 deletions
diff --git a/teleterm/static/teleterm_web.js b/teleterm/static/teleterm_web.js
index 7ada906..347b24f 100644
--- a/teleterm/static/teleterm_web.js
+++ b/teleterm/static/teleterm_web.js
@@ -1,6 +1,10 @@
let wasm;
+function __wbg_elem_binding0(arg0, arg1) {
+ wasm.__wbg_function_table.get(227)(arg0, arg1);
+}
+
const heap = new Array(32);
heap.fill(undefined);
@@ -17,32 +21,29 @@ function addHeapObject(obj) {
heap[idx] = obj;
return idx;
}
-function __wbg_elem_binding0(arg0, arg1, arg2) {
- wasm.__wbg_function_table.get(295)(arg0, arg1, addHeapObject(arg2));
-}
function __wbg_elem_binding1(arg0, arg1, arg2) {
- wasm.__wbg_function_table.get(77)(arg0, arg1, addHeapObject(arg2));
+ wasm.__wbg_function_table.get(78)(arg0, arg1, addHeapObject(arg2));
}
function __wbg_elem_binding2(arg0, arg1, arg2) {
- wasm.__wbg_function_table.get(77)(arg0, arg1, addHeapObject(arg2));
+ wasm.__wbg_function_table.get(78)(arg0, arg1, addHeapObject(arg2));
}
function __wbg_elem_binding3(arg0, arg1, arg2) {
- wasm.__wbg_function_table.get(77)(arg0, arg1, addHeapObject(arg2));
+ wasm.__wbg_function_table.get(296)(arg0, arg1, addHeapObject(arg2));
}
function __wbg_elem_binding4(arg0, arg1, arg2) {
- wasm.__wbg_function_table.get(81)(arg0, arg1, arg2);
+ wasm.__wbg_function_table.get(78)(arg0, arg1, addHeapObject(arg2));
}
function __wbg_elem_binding5(arg0, arg1, arg2) {
- wasm.__wbg_function_table.get(77)(arg0, arg1, addHeapObject(arg2));
+ wasm.__wbg_function_table.get(82)(arg0, arg1, arg2);
}
-function __wbg_elem_binding6(arg0, arg1) {
- wasm.__wbg_function_table.get(226)(arg0, arg1);
+function __wbg_elem_binding6(arg0, arg1, arg2) {
+ wasm.__wbg_function_table.get(78)(arg0, arg1, addHeapObject(arg2));
}
function __wbg_elem_binding7(arg0, arg1, arg2, arg3, arg4) {
- wasm.__wbg_function_table.get(322)(arg0, arg1, addHeapObject(arg2), arg3, addHeapObject(arg4));
+ wasm.__wbg_function_table.get(323)(arg0, arg1, addHeapObject(arg2), arg3, addHeapObject(arg4));
}
function __wbg_elem_binding8(arg0, arg1, arg2, arg3) {
- wasm.__wbg_function_table.get(326)(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
+ wasm.__wbg_function_table.get(327)(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
}
/**
*/
@@ -884,16 +885,16 @@ function init(module) {
imports.wbg.__wbindgen_throw = function(arg0, arg1) {
throw new Error(getStringFromWasm(arg0, arg1));
};
- imports.wbg.__wbindgen_closure_wrapper309 = function(arg0, arg1, arg2) {
+ imports.wbg.__wbindgen_closure_wrapper319 = function(arg0, arg1, arg2) {
const state = { a: arg0, b: arg1, cnt: 1 };
const real = (arg0) => {
state.cnt++;
const a = state.a;
state.a = 0;
try {
- return __wbg_elem_binding2(a, state.b, arg0);
+ return __wbg_elem_binding1(a, state.b, arg0);
} finally {
- if (--state.cnt === 0) wasm.__wbg_function_table.get(78)(a, state.b);
+ if (--state.cnt === 0) wasm.__wbg_function_table.get(79)(a, state.b);
else state.a = a;
}
}
@@ -902,16 +903,16 @@ function init(module) {
const ret = real;
return addHeapObject(ret);
};
- imports.wbg.__wbindgen_closure_wrapper317 = function(arg0, arg1, arg2) {
+ imports.wbg.__wbindgen_closure_wrapper321 = function(arg0, arg1, arg2) {
const state = { a: arg0, b: arg1, cnt: 1 };
const real = (arg0) => {
state.cnt++;
const a = state.a;
state.a = 0;
try {
- return __wbg_elem_binding3(a, state.b, arg0);
+ return __wbg_elem_binding2(a, state.b, arg0);
} finally {
- if (--state.cnt === 0) wasm.__wbg_function_table.get(78)(a, state.b);
+ if (--state.cnt === 0) wasm.__wbg_function_table.get(79)(a, state.b);
else state.a = a;
}
}
@@ -920,16 +921,16 @@ function init(module) {
const ret = real;
return addHeapObject(ret);
};
- imports.wbg.__wbindgen_closure_wrapper1070 = function(arg0, arg1, arg2) {
+ imports.wbg.__wbindgen_closure_wrapper315 = function(arg0, arg1, arg2) {
const state = { a: arg0, b: arg1, cnt: 1 };
const real = (arg0) => {
state.cnt++;
const a = state.a;
state.a = 0;
try {
- return __wbg_elem_binding0(a, state.b, arg0);
+ return __wbg_elem_binding5(a, state.b, arg0);
} finally {
- if (--state.cnt === 0) wasm.__wbg_function_table.get(296)(a, state.b);
+ if (--state.cnt === 0) wasm.__wbg_function_table.get(79)(a, state.b);
else state.a = a;
}
}
@@ -938,16 +939,16 @@ function init(module) {
const ret = real;
return addHeapObject(ret);
};
- imports.wbg.__wbindgen_closure_wrapper650 = function(arg0, arg1, arg2) {
+ imports.wbg.__wbindgen_closure_wrapper654 = function(arg0, arg1, arg2) {
const state = { a: arg0, b: arg1, cnt: 1 };
const real = () => {
state.cnt++;
const a = state.a;
state.a = 0;
try {
- return __wbg_elem_binding6(a, state.b, );
+ return __wbg_elem_binding0(a, state.b, );
} finally {
- if (--state.cnt === 0) wasm.__wbg_function_table.get(227)(a, state.b);
+ if (--state.cnt === 0) wasm.__wbg_function_table.get(228)(a, state.b);
else state.a = a;
}
}
@@ -956,16 +957,16 @@ function init(module) {
const ret = real;
return addHeapObject(ret);
};
- imports.wbg.__wbindgen_closure_wrapper315 = function(arg0, arg1, arg2) {
+ imports.wbg.__wbindgen_closure_wrapper1074 = function(arg0, arg1, arg2) {
const state = { a: arg0, b: arg1, cnt: 1 };
const real = (arg0) => {
state.cnt++;
const a = state.a;
state.a = 0;
try {
- return __wbg_elem_binding1(a, state.b, arg0);
+ return __wbg_elem_binding3(a, state.b, arg0);
} finally {
- if (--state.cnt === 0) wasm.__wbg_function_table.get(78)(a, state.b);
+ if (--state.cnt === 0) wasm.__wbg_function_table.get(297)(a, state.b);
else state.a = a;
}
}
@@ -974,7 +975,7 @@ function init(module) {
const ret = real;
return addHeapObject(ret);
};
- imports.wbg.__wbindgen_closure_wrapper311 = function(arg0, arg1, arg2) {
+ imports.wbg.__wbindgen_closure_wrapper313 = function(arg0, arg1, arg2) {
const state = { a: arg0, b: arg1, cnt: 1 };
const real = (arg0) => {
state.cnt++;
@@ -983,7 +984,7 @@ function init(module) {
try {
return __wbg_elem_binding4(a, state.b, arg0);
} finally {
- if (--state.cnt === 0) wasm.__wbg_function_table.get(78)(a, state.b);
+ if (--state.cnt === 0) wasm.__wbg_function_table.get(79)(a, state.b);
else state.a = a;
}
}
@@ -992,16 +993,16 @@ function init(module) {
const ret = real;
return addHeapObject(ret);
};
- imports.wbg.__wbindgen_closure_wrapper313 = function(arg0, arg1, arg2) {
+ imports.wbg.__wbindgen_closure_wrapper317 = function(arg0, arg1, arg2) {
const state = { a: arg0, b: arg1, cnt: 1 };
const real = (arg0) => {
state.cnt++;
const a = state.a;
state.a = 0;
try {
- return __wbg_elem_binding5(a, state.b, arg0);
+ return __wbg_elem_binding6(a, state.b, arg0);
} finally {
- if (--state.cnt === 0) wasm.__wbg_function_table.get(78)(a, state.b);
+ if (--state.cnt === 0) wasm.__wbg_function_table.get(79)(a, state.b);
else state.a = a;
}
}
diff --git a/teleterm/static/teleterm_web_bg.wasm b/teleterm/static/teleterm_web_bg.wasm
index d89572a..e4870a3 100644
--- a/teleterm/static/teleterm_web_bg.wasm
+++ b/teleterm/static/teleterm_web_bg.wasm
Binary files differ