summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/core/web
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask/core/web')
-rw-r--r--src/leap/bitmask/core/web/bitmask.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/leap/bitmask/core/web/bitmask.js b/src/leap/bitmask/core/web/bitmask.js
index 9ac11b7..ae20951 100644
--- a/src/leap/bitmask/core/web/bitmask.js
+++ b/src/leap/bitmask/core/web/bitmask.js
@@ -27,6 +27,9 @@
* finished or will fail if there was any error. Errors are always user readable
* strings.
*/
+
+import "babel-polyfill";
+
var bitmask = function(){
var event_handlers = {};
@@ -140,7 +143,7 @@ var bitmask = function(){
if (typeof autoconf !== 'boolean') {
autoconf = false;
}
- return call(['bonafide', 'user', 'create', uid, password, autocnof]);
+ return call(['bonafide', 'user', 'create', uid, password, autoconf]);
},
/**
@@ -293,3 +296,5 @@ var bitmask = function(){
}
};
}();
+
+module.exports = bitmask