X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=blobdiff_plain;f=src%2Fmkws-team.js;h=e4645b2651aabbef1cc0b7bb5070af805ff071c9;hp=c88d58b3b9666f8acb728885e30f40eafb7b012b;hb=f4860b3d6d8965ad2999eca215adb801defdf7a2;hpb=175f20ac816c2654cb7d3f413368795f7b8afd69 diff --git a/src/mkws-team.js b/src/mkws-team.js index c88d58b..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"); } @@ -426,7 +423,7 @@ mkws.makeTeam = function($, teamName) { that.registerTemplate = function(name, text) { if(mkws._old2new.hasOwnProperty(name)) { - that.warn("Warning: registerTemplate old widget name: " + name + " => " + mkws._old2new[name]); + that.warn("registerTemplate: old widget name: " + name + " => " + mkws._old2new[name]); name = mkws._old2new[name]; } m_templateText[name] = text; @@ -435,7 +432,7 @@ mkws.makeTeam = function($, teamName) { function loadTemplate(name, fallbackString) { if(mkws._old2new.hasOwnProperty(name)) { - that.warn("Warning loadTemplate: old widget name: " + name + " => " + mkws._old2new[name]); + that.warn("loadTemplate: old widget name: " + name + " => " + mkws._old2new[name]); name = mkws._old2new[name]; }