Remove no-longer pertinent comment.
[mkws-moved-to-github.git] / tools / htdocs / mkws.js
index 60b9388..b6506c6 100644 (file)
@@ -186,10 +186,9 @@ function widget($, team, type, node) {
     } else if (type === 'Stat') {
        promoteStat();
     } else {
-       // Unsupported widget type: call an extension?
+       // ### Handle other types here
     }
 
-    // ### More to do here, surely: e.g. wiring into the team
     mkws.debug("made widget(team=" + team + ", type=" + type + ", node=" + node);
 
 
@@ -300,26 +299,26 @@ function team($, teamName) {
     //
     // pz2.js event handlers:
     //
-    function onInit(teamName) {
+    function onInit() {
        debug("init");
        m_paz.stat();
        m_paz.bytarget();
     }
 
 
-    function onBytarget(data, teamName) {
+    function onBytarget(data) {
        debug("target");
        mkws.queue("targets").publish(data);
     }
 
 
-    function onStat(data, teamName) {
+    function onStat(data) {
        debug("stat");
        mkws.queue("stat").publish(data);
     }
 
 
-    function onTerm(data, teamName) {
+    function onTerm(data) {
        debug("term");
        var node = findnode(".mkwsTermlists");
        if (node.length == 0) return;