[PATCH 10 of 19] autocomplete: remove redundant return in MembersAutoComplete

Thomas De Schampheleire patrickdepinguin at gmail.com
Tue Jun 30 16:43:20 EDT 2015


# HG changeset patch
# User Thomas De Schampheleire <thomas.de.schampheleire at gmail.com>
# Date 1435349622 -7200
#      Fri Jun 26 22:13:42 2015 +0200
# Node ID 3d214cd2fdd8b6c24cd147127283a3ffe7bdc0de
# Parent  d6d25547fc3ffc050212e5b4ec2c04478c6ebc03
autocomplete: remove redundant return in MembersAutoComplete

Nobody is using these values; they were removed in the other autocompletes
before.

diff --git a/kallithea/public/js/base.js b/kallithea/public/js/base.js
--- a/kallithea/public/js/base.js
+++ b/kallithea/public/js/base.js
@@ -1285,13 +1285,6 @@ var _MembersAutoComplete = function (div
     };
     membersAC.itemSelectEvent.subscribe(itemSelectHandler);
     ownerAC.itemSelectEvent.subscribe(itemSelectHandler);
-
-    return {
-        memberDS: memberDS,
-        ownerDS: ownerDS,
-        membersAC: membersAC,
-        ownerAC: ownerAC
-    };
 }
 
 var MentionsAutoComplete = function (divid, cont, users_list) {


More information about the kallithea-general mailing list