From ccf91020f94865f3913b85ab5d171c89c9ba3ecb Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Fri, 4 Apr 2014 16:28:24 +0100 Subject: [PATCH] Eliminate the addSingleScaffold function, inlining its code. --- src/mkws-widget-termlists.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/mkws-widget-termlists.js b/src/mkws-widget-termlists.js index 166c853..96862e9 100644 --- a/src/mkws-widget-termlists.js +++ b/src/mkws-widget-termlists.js @@ -30,12 +30,8 @@ mkws.registerWidgetType('Termlists', function() { if (!ref) { alert("bad facet configuration: '" + name + "'"); } else { - addSingleScaffold(acc, ref[0]); - function addSingleScaffold(acc, caption) { - var teamName = that.team.name(); - acc.push('
'); - acc.push('
'); - } + acc.push('
'); + acc.push('
'); } } -- 1.7.10.4