From: Mike Taylor Date: Fri, 4 Apr 2014 15:28:24 +0000 (+0100) Subject: Eliminate the addSingleScaffold function, inlining its code. X-Git-Tag: 1.0.0~1025 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=ccf91020f94865f3913b85ab5d171c89c9ba3ecb Eliminate the addSingleScaffold function, inlining its code. --- 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('
'); } }