From 1a51392909607488f4a104c32bf2dbcbf2008364 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 15 Apr 2014 16:56:48 +0100 Subject: [PATCH] Add commented-out code for iterating over teams and widgets. --- src/mkws-core.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/mkws-core.js b/src/mkws-core.js index 43867f9..07a4b2d 100644 --- a/src/mkws-core.js +++ b/src/mkws-core.js @@ -396,6 +396,16 @@ 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)); +// } +// } + if (mkws.config.use_service_proxy) { authenticateSession(mkws.config.service_proxy_auth, mkws.config.service_proxy_auth_domain, -- 1.7.10.4