From: Mike Taylor Date: Thu, 1 May 2014 13:08:53 +0000 (+0100) Subject: Commented-out code to walk team->widgets structure uses visitWidgets X-Git-Tag: 1.0.0~766 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=ad0074fb0de614611a10ebc462831a69efe4560f;p=mkws-moved-to-github.git Commented-out code to walk team->widgets structure uses visitWidgets --- diff --git a/src/mkws-core.js b/src/mkws-core.js index ec2b4a6..eda02a3 100644 --- a/src/mkws-core.js +++ b/src/mkws-core.js @@ -503,15 +503,13 @@ mkws.pagerNext = function(tname) { var now = $.now(); log("Walking MKWS nodes took " + (now-then) + " ms"); -// for (var tName in mkws.teams) { -// var myTeam = mkws.teams[tName] -// var types = myTeam.widgetTypes(); -// log("TEAM '" + tName + "' = " + myTeam + " has widget types " + types); -// for (var i = 0; i < types.length; i++) { -// var type = types[i]; -// log(" has widget of type '" + type + "': " + myTeam.widget(type)); -// } -// } + //for (var tName in mkws.teams) { + // var myTeam = mkws.teams[tName] + // log("TEAM '" + tName + "' = " + myTeam + " ..."); + // myTeam.visitWidgets(function(t, w) { + // log(" has widget of type '" + t + "': " + w); + // }); + //} if (mkws.config.use_service_proxy) { authenticateSession(mkws.config.service_proxy_auth,