Remove unused teamName arguments from several pz2 callbacks.
authorMike Taylor <mike@indexdata.com>
Tue, 4 Mar 2014 14:56:10 +0000 (14:56 +0000)
committerMike Taylor <mike@indexdata.com>
Tue, 4 Mar 2014 14:56:10 +0000 (14:56 +0000)
tools/htdocs/mkws.js

index 60b9388..796fd2c 100644 (file)
@@ -300,26 +300,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;