X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=blobdiff_plain;f=tools%2Fhtdocs%2Fmkws.js;h=ba5ef4ad8313f11bb4523d86ee9772efa4740206;hp=1c19b2c98e6f2d39b9b70479e8faadef34a1216f;hb=b77249ab2c42d38dc128cdf4bae3959533a99b05;hpb=f002c09b599b883add53eda5da0436072ab2b3ee diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index 1c19b2c..ba5ef4a 100644 --- 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?!");