From: Mike Taylor Date: Tue, 11 Feb 2014 16:24:05 +0000 (+0000) Subject: Rename mkws.debug_function() to mkws.debug() X-Git-Tag: 1.0.0~1482 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=4ec22e49983f7f6ac58561eacf3ba6bb1b83de13 Rename mkws.debug_function() to mkws.debug() --- diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index 57d5606..5e22ba4 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -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;