Remove unusual teamName variable.
authorMike Taylor <mike@indexdata.com>
Tue, 12 May 2015 10:26:16 +0000 (11:26 +0100)
committerMike Taylor <mike@indexdata.com>
Tue, 12 May 2015 10:26:16 +0000 (11:26 +0100)
src/mkws-widget-facets.js

index ffe344b..fc4e3d6 100644 (file)
@@ -44,7 +44,6 @@ mkws.registerWidgetType('facet', function() {
   team.queue("facets").subscribe(function(data) {
     data = data[name];
     var terms = [];
-    var teamName = team.name();
     var base = team.filters();
     for (var i = 0; i < data.length && i < max; i++) {
       var fs = $.extend(true, {}, base);