X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=blobdiff_plain;f=src%2Fmkws-team.js;h=e4645b2651aabbef1cc0b7bb5070af805ff071c9;hp=d0907441c6ba4306dea96980c58f8cd936670a85;hb=8951e05ba26465e3d86d2909a83db67ffee49e28;hpb=a11c920efd56cf7b6240e852b6826bc671856f88 diff --git a/src/mkws-team.js b/src/mkws-team.js index d090744..e4645b2 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -88,9 +88,6 @@ mkws.makeTeam = function($, teamName) { that.queue("log").publish(m_teamName, timestamp, s); } - // ### transitional placeholder function until we have promoted all invocations - that.log = function (x) { _log(mkws.log, x) }; - that.trace = function(x) { _log(mkws.trace, x) }; that.debug = function(x) { _log(mkws.debug, x) }; that.info = function(x) { _log(mkws.info, x) }; @@ -176,7 +173,7 @@ mkws.makeTeam = function($, teamName) { params.onbytarget = onBytarget; that.info("setting bytarget callback"); } - if (m_queues.stat) { + if (m_queues.stat || m_queues.firstrecords || m_queues.complete) { params.onstat = onStat; that.info("setting stat callback"); }