aboutsummaryrefslogtreecommitdiffstats
path: root/teleterm
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-11-23 13:50:43 -0500
committerJesse Luehrs <doy@tozt.net>2019-11-23 13:50:43 -0500
commit324a2c8d2002536241638d79e577f3d2a4e9c61a (patch)
treeb2fe706937d48e948a4c52b7dc0ba7326401e07c /teleterm
parent383193179ab1a7613e7fe7521a120c5a6b9ce202 (diff)
downloadteleterm-324a2c8d2002536241638d79e577f3d2a4e9c61a.tar.gz
teleterm-324a2c8d2002536241638d79e577f3d2a4e9c61a.zip
strip out most logging in release builds
Diffstat (limited to 'teleterm')
-rw-r--r--teleterm/static/teleterm_web.js58
-rw-r--r--teleterm/static/teleterm_web_bg.wasmbin485061 -> 470845 bytes
2 files changed, 29 insertions, 29 deletions
diff --git a/teleterm/static/teleterm_web.js b/teleterm/static/teleterm_web.js
index 1ff1ff4..7d5ac99 100644
--- a/teleterm/static/teleterm_web.js
+++ b/teleterm/static/teleterm_web.js
@@ -27,17 +27,17 @@ function __wbg_elem_binding2(arg0, arg1, arg2) {
wasm.__wbg_function_table.get(52)(arg0, arg1, addHeapObject(arg2));
}
function __wbg_elem_binding3(arg0, arg1, arg2) {
- wasm.__wbg_function_table.get(52)(arg0, arg1, addHeapObject(arg2));
-}
-function __wbg_elem_binding4(arg0, arg1, arg2) {
wasm.__wbg_function_table.get(51)(arg0, arg1, arg2);
}
-function __wbg_elem_binding5(arg0, arg1, arg2) {
+function __wbg_elem_binding4(arg0, arg1, arg2) {
wasm.__wbg_function_table.get(52)(arg0, arg1, addHeapObject(arg2));
}
-function __wbg_elem_binding6(arg0, arg1) {
+function __wbg_elem_binding5(arg0, arg1) {
wasm.__wbg_function_table.get(31)(arg0, arg1);
}
+function __wbg_elem_binding6(arg0, arg1, arg2) {
+ wasm.__wbg_function_table.get(52)(arg0, arg1, addHeapObject(arg2));
+}
function __wbg_elem_binding7(arg0, arg1, arg2, arg3, arg4) {
wasm.__wbg_function_table.get(17)(arg0, arg1, addHeapObject(arg2), arg3, addHeapObject(arg4));
}
@@ -225,9 +225,6 @@ function init(module) {
let result;
const imports = {};
imports.wbg = {};
- imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
- takeObject(arg0);
- };
imports.wbg.__wbindgen_cb_drop = function(arg0) {
const obj = takeObject(arg0).original;
if (obj.cnt-- == 1) {
@@ -237,6 +234,9 @@ function init(module) {
const ret = false;
return ret;
};
+ imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
+ takeObject(arg0);
+ };
imports.wbg.__wbg_clearTimeout_42a8676f07d366c5 = typeof clearTimeout == 'function' ? clearTimeout : notDefined('clearTimeout');
imports.wbg.__widl_f_first_child_Node = function(arg0) {
const ret = getObject(arg0).firstChild;
@@ -327,6 +327,13 @@ function init(module) {
const ret = getStringFromWasm(arg0, arg1);
return addHeapObject(ret);
};
+ imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
+ const ret = debugString(getObject(arg1));
+ const ret0 = passStringToWasm(ret);
+ const ret1 = WASM_VECTOR_LEN;
+ getInt32Memory()[arg0 / 4 + 0] = ret0;
+ getInt32Memory()[arg0 / 4 + 1] = ret1;
+ };
imports.wbg.__widl_f_location_Window = function(arg0) {
const ret = getObject(arg0).location;
return addHeapObject(ret);
@@ -364,13 +371,6 @@ function init(module) {
handleError(e)
}
};
- imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
- const ret = debugString(getObject(arg1));
- const ret0 = passStringToWasm(ret);
- const ret1 = WASM_VECTOR_LEN;
- getInt32Memory()[arg0 / 4 + 0] = ret0;
- getInt32Memory()[arg0 / 4 + 1] = ret1;
- };
imports.wbg.__widl_f_set_attribute_Element = function(arg0, arg1, arg2, arg3, arg4) {
try {
getObject(arg0).setAttribute(getStringFromWasm(arg1, arg2), getStringFromWasm(arg3, arg4));
@@ -896,14 +896,14 @@ function init(module) {
imports.wbg.__widl_f_warn_1_ = function(arg0) {
console.warn(getObject(arg0));
};
- imports.wbg.__wbindgen_closure_wrapper780 = function(arg0, arg1, arg2) {
+ imports.wbg.__wbindgen_closure_wrapper693 = 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_binding0(a, state.b, arg0);
} finally {
if (--state.cnt === 0) wasm.__wbg_function_table.get(32)(a, state.b);
else state.a = a;
@@ -914,14 +914,14 @@ function init(module) {
const ret = real;
return addHeapObject(ret);
};
- imports.wbg.__wbindgen_closure_wrapper671 = function(arg0, arg1, arg2) {
+ imports.wbg.__wbindgen_closure_wrapper669 = 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_binding4(a, state.b, arg0);
+ return __wbg_elem_binding3(a, state.b, arg0);
} finally {
if (--state.cnt === 0) wasm.__wbg_function_table.get(32)(a, state.b);
else state.a = a;
@@ -932,14 +932,14 @@ function init(module) {
const ret = real;
return addHeapObject(ret);
};
- imports.wbg.__wbindgen_closure_wrapper508 = function(arg0, arg1, arg2) {
+ imports.wbg.__wbindgen_closure_wrapper502 = 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_binding5(a, state.b, );
} finally {
if (--state.cnt === 0) wasm.__wbg_function_table.get(32)(a, state.b);
else state.a = a;
@@ -950,14 +950,14 @@ function init(module) {
const ret = real;
return addHeapObject(ret);
};
- imports.wbg.__wbindgen_closure_wrapper613 = function(arg0, arg1, arg2) {
+ imports.wbg.__wbindgen_closure_wrapper688 = 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_binding1(a, state.b, arg0);
} finally {
if (--state.cnt === 0) wasm.__wbg_function_table.get(32)(a, state.b);
else state.a = a;
@@ -968,14 +968,14 @@ function init(module) {
const ret = real;
return addHeapObject(ret);
};
- imports.wbg.__wbindgen_closure_wrapper684 = function(arg0, arg1, arg2) {
+ imports.wbg.__wbindgen_closure_wrapper608 = 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_binding2(a, state.b, arg0);
} finally {
if (--state.cnt === 0) wasm.__wbg_function_table.get(32)(a, state.b);
else state.a = a;
@@ -986,14 +986,14 @@ function init(module) {
const ret = real;
return addHeapObject(ret);
};
- imports.wbg.__wbindgen_closure_wrapper692 = function(arg0, arg1, arg2) {
+ imports.wbg.__wbindgen_closure_wrapper696 = 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_binding4(a, state.b, arg0);
} finally {
if (--state.cnt === 0) wasm.__wbg_function_table.get(32)(a, state.b);
else state.a = a;
@@ -1004,14 +1004,14 @@ function init(module) {
const ret = real;
return addHeapObject(ret);
};
- imports.wbg.__wbindgen_closure_wrapper695 = function(arg0, arg1, arg2) {
+ imports.wbg.__wbindgen_closure_wrapper777 = 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_binding6(a, state.b, arg0);
} finally {
if (--state.cnt === 0) wasm.__wbg_function_table.get(32)(a, state.b);
else state.a = a;
diff --git a/teleterm/static/teleterm_web_bg.wasm b/teleterm/static/teleterm_web_bg.wasm
index df09ad8..a82a112 100644
--- a/teleterm/static/teleterm_web_bg.wasm
+++ b/teleterm/static/teleterm_web_bg.wasm
Binary files differ