Comment out the addWidget logging.
authorMike Taylor <mike@indexdata.com>
Wed, 30 Apr 2014 09:55:30 +0000 (10:55 +0100)
committerMike Taylor <mike@indexdata.com>
Wed, 30 Apr 2014 09:55:30 +0000 (10:55 +0100)
src/mkws-team.js

index 213b14b..ab53e94 100644 (file)
@@ -430,13 +430,13 @@ function team($, teamName) {
     that.addWidget = function(w) {
         if (!m_widgets[w.type]) {
             m_widgets[w.type] = w;
-            log("Added '" + w.type + "' widget to team '" + m_teamName + "'");
+            //log("Added '" + w.type + "' widget to team '" + m_teamName + "'");
         } else if (typeof(m_widgets[w.type]) !== 'number') {
             m_widgets[w.type] = 2;
-            log("Added duplicate '" + w.type + "' widget to team '" + m_teamName + "'");
+            //log("Added duplicate '" + w.type + "' widget to team '" + m_teamName + "'");
         } else {
             m_widgets[w.type] += 1;
-            log("Added '" + w.type + "' widget #" + m_widgets[w.type] + "' to team '" + m_teamName + "'");
+            //log("Added '" + w.type + "' widget #" + m_widgets[w.type] + "' to team '" + m_teamName + "'");
         }
     }