From 268a4e0b252b0d3f59645e937293ac4cb65cce83 Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Wed, 7 Sep 2016 10:19:49 -0400 Subject: [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. --- src/leap/bitmask/core/web/bitmask.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3