Rename mkws.debug_function() to mkws.debug()
authorMike Taylor <mike@indexdata.com>
Tue, 11 Feb 2014 16:24:05 +0000 (16:24 +0000)
committerMike Taylor <mike@indexdata.com>
Tue, 11 Feb 2014 16:24:05 +0000 (16:24 +0000)
tools/htdocs/mkws.js

index 57d5606..5e22ba4 100644 (file)
@@ -176,7 +176,7 @@ function team($, teamName) {
        var timestamp = ((now - m_debug_time.start)/1000).toFixed(3) + " (+" + ((now - m_debug_time.last)/1000).toFixed(3) + ") "
        m_debug_time.last = now;
 
-       mkws.debug_function(m_teamName + ": " + timestamp + s);
+       mkws.debug(m_teamName + ": " + timestamp + s);
     }
 
     debug("start running MKWS");
@@ -1257,7 +1257,7 @@ function _mkws_jquery_plugin ($) {
 
 // wrapper to call team() after page load
 (function (j) {
-    mkws.debug_function = function (string) {
+    mkws.debug = function (string) {
        if (!mkws.debug_level)
            return;