aboutsummaryrefslogtreecommitdiff
path: root/javascript/olm_post.js
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2018-10-04 20:09:54 +0100
committerDavid Baker <dave@matrix.org>2018-10-04 20:09:54 +0100
commit602c00a8d658e8510e37e841dd06c70f276d0f00 (patch)
tree06ad0cb951a8c50e48325a7f75a58e83d4b3fc45 /javascript/olm_post.js
parent00384ba87a5943a8a12c9b8bfcb8903cc9be490f (diff)
Dual-build wasm and asm.js olm
Diffstat (limited to 'javascript/olm_post.js')
-rw-r--r--javascript/olm_post.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/javascript/olm_post.js b/javascript/olm_post.js
index 9e0294a..21ea890 100644
--- a/javascript/olm_post.js
+++ b/javascript/olm_post.js
@@ -463,12 +463,3 @@ olm_exports["get_library_version"] = restore_stack(function() {
getValue(buf+2, 'i8'),
];
});
-
-Module['onRuntimeInitialized'] = function() {
- OLM_ERROR = Module['_olm_error']();
- if (onInitSuccess) onInitSuccess();
-};
-
-Module['onAbort'] = function(err) {
- if (onInitFail) onInitFail(err);
-};