From 9f2cf5accdc8c7445b58cdfeed6bf2f312d20119 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Fri, 4 Apr 2014 16:20:29 +0100 Subject: [PATCH] Remove unused arguments from addSingleScaffold and makeSingleFacet --- src/mkws-widget-termlists.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mkws-widget-termlists.js b/src/mkws-widget-termlists.js index ef89ad8..cfb603a 100644 --- a/src/mkws-widget-termlists.js +++ b/src/mkws-widget-termlists.js @@ -30,8 +30,8 @@ mkws.registerWidgetType('Termlists', function() { if (!ref) { alert("bad facet configuration: '" + name + "'"); } else { - addSingleScaffold(acc, ref[0], data[name], ref[1], ref[2] ? name : null); - output[name] = makeSingleFacet(acc, ref[0], data[name], ref[1], ref[2] ? name : null); + addSingleScaffold(acc, ref[0]); + output[name] = makeSingleFacet(ref[0], data[name], ref[1], ref[2] ? name : null); } } @@ -46,14 +46,14 @@ mkws.registerWidgetType('Termlists', function() { that.team.findnode('.mkwsFacet' + caption).html(output[name]); } - function addSingleScaffold(acc, caption, data, max, pzIndex) { + function addSingleScaffold(acc, caption) { var teamName = that.team.name(); acc.push('
'); acc.push('
'); } - function makeSingleFacet(acc, caption, data, max, pzIndex) { + function makeSingleFacet(caption, data, max, pzIndex) { var teamName = that.team.name(); var a2 = []; -- 1.7.10.4