aboutsummaryrefslogtreecommitdiff
path: root/javascript/olm_post.js
diff options
context:
space:
mode:
Diffstat (limited to 'javascript/olm_post.js')
-rw-r--r--javascript/olm_post.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/javascript/olm_post.js b/javascript/olm_post.js
index fffffad..21ea890 100644
--- a/javascript/olm_post.js
+++ b/javascript/olm_post.js
@@ -463,13 +463,3 @@ olm_exports["get_library_version"] = restore_stack(function() {
getValue(buf+2, 'i8'),
];
});
-
-Module['onRuntimeInitialized'] = function() {
- OLM_ERROR = Module['_olm_error']();
- olm_exports["PRIVATE_KEY_LENGTH"] = Module['_olm_pk_private_key_length']();
- if (onInitSuccess) onInitSuccess();
-};
-
-Module['onAbort'] = function(err) {
- if (onInitFail) onInitFail(err);
-};