diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2016-09-07 10:19:49 -0400 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2016-09-07 10:19:49 -0400 |
commit | 268a4e0b252b0d3f59645e937293ac4cb65cce83 (patch) | |
tree | 4585df3c25e2623914d7a243ea7e7c07345a82fd /src/leap/bitmask | |
parent | 7a6e187e0a970ad6fb722fc9dfd3be784b254c06 (diff) |
[refactor] update www/app/lib/bitmask.js
- fix a typo
- Mantaining two copies looks like a very bad idea. I'll probably make
this a symlink.
Diffstat (limited to 'src/leap/bitmask')
-rw-r--r-- | src/leap/bitmask/core/web/bitmask.js | 7 |
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 9ac11b7b..ae209512 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 |