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:
f002c09
)
Comment.
author
Mike Taylor
<mike@indexdata.com>
Tue, 4 Mar 2014 17:13:23 +0000
(17:13 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Tue, 4 Mar 2014 17:13:23 +0000
(17:13 +0000)
tools/htdocs/mkws.js
patch
|
blob
|
history
diff --git
a/tools/htdocs/mkws.js
b/tools/htdocs/mkws.js
index
1c19b2c
..
ba5ef4a
100644
(file)
--- a/
tools/htdocs/mkws.js
+++ b/
tools/htdocs/mkws.js
@@
-170,6
+170,10
@@
function widget($, team, type, node) {
return that;
+ // Functions follow for promoting the regular widget object into
+ // widgets of specific types. These could be moved outside of the
+ // widget object, or even into their own source files.
+
function promoteTargets() {
team.queue("targets").subscribe(function(data) {
if (node.length === 0) alert("huh?!");