aboutsummaryrefslogtreecommitdiff
path: root/javascript/olm_prefix.js
diff options
context:
space:
mode:
authorLukas Lihotzki <lukas@lihotzki.de>2020-10-03 03:46:15 +0200
committerLukas Lihotzki <lukas@lihotzki.de>2020-10-03 03:46:15 +0200
commit6611165bffdfb5b1096a755ca78488bfee8486c1 (patch)
tree2af4f644addedbeaecb164b72a7d33a28a3d9793 /javascript/olm_prefix.js
parentadd885c8744b9fbd6dc213c01c5355c4773603fe (diff)
do not pollute the global object
Diffstat (limited to 'javascript/olm_prefix.js')
-rw-r--r--javascript/olm_prefix.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/javascript/olm_prefix.js b/javascript/olm_prefix.js
index b33dfe9..ae2d9f9 100644
--- a/javascript/olm_prefix.js
+++ b/javascript/olm_prefix.js
@@ -1,3 +1,4 @@
+var Olm = (function() {
var olm_exports = {};
var onInitSuccess;
var onInitFail;