From 167a846cf38072f670ad27784eea778a8534e662 Mon Sep 17 00:00:00 2001 From: ansuz Date: Wed, 18 Dec 2019 17:59:28 -0500 Subject: [PATCH] remove unused dependency --- www/common/outer/invitation.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/www/common/outer/invitation.js b/www/common/outer/invitation.js index 69afc5978..603cae3c1 100644 --- a/www/common/outer/invitation.js +++ b/www/common/outer/invitation.js @@ -1,6 +1,5 @@ (function () { -var factory = function (Util, Cred, nThen, Nacl) { - nThen = nThen; // XXX +var factory = function (Util, Cred, Nacl) { var Invite = {}; var encode64 = Nacl.util.encodeBase64; @@ -92,10 +91,9 @@ var factory = function (Util, Cred, nThen, Nacl) { define([ '/common/common-util.js', '/common/common-credential.js', - '/bower_components/nthen/index.js', '/bower_components/tweetnacl/nacl-fast.min.js', - ], function (Util, Cred, nThen) { - return factory(Util, Cred, nThen, window.nacl); + ], function (Util, Cred) { + return factory(Util, Cred, window.nacl); }); } }());