projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0688fd
)
Move "return" higher up widget factory method.
author
Mike Taylor
<mike@indexdata.com>
Tue, 4 Mar 2014 15:04:36 +0000
(15:04 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Tue, 4 Mar 2014 15:04:36 +0000
(15:04 +0000)
Local functions come after it.
tools/htdocs/mkws.js
patch
|
blob
|
history
diff --git
a/tools/htdocs/mkws.js
b/tools/htdocs/mkws.js
index
b6506c6
..
3dff008
100644
(file)
--- 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) {
'<span class="records">' + M('Retrieved records') + ': ' + data.records + '/' + data.hits + '</span>');
});
}
-
-
- return that;
}