From 98aff8e1034e848bdd19bc05f3b1a3279931bf76 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 4 Mar 2014 15:04:36 +0000 Subject: [PATCH] Move "return" higher up widget factory method. Local functions come after it. --- tools/htdocs/mkws.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index b6506c6..3dff008 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -190,6 +190,7 @@ function widget($, team, type, node) { } mkws.debug("made widget(team=" + team + ", type=" + type + ", node=" + node); + return that; function promoteTargets() { @@ -230,9 +231,6 @@ function widget($, team, type, node) { '' + M('Retrieved records') + ': ' + data.records + '/' + data.hits + ''); }); } - - - return that; } -- 1.7.10.4