log_level: 1, // Will be overridden from mkws_config, but
// initial value allows jQuery popup to use logging.
teams: {},
+ widgetType2function: {},
+
locale_lang: {
"de": {
"Authors": "Autoren",
mkws.log = log;
+ mkws.registerWidgetType = function(name, fn) {
+ mkws.widgetType2function[name] = fn;
+ log("registered widget-type '" + name + "'");
+ }
+
+ mkws.promotionFunction = function(name) {
+ return mkws.widgetType2function[name];
+ }
+
+
function handleNodeWithTeam(node, callback) {
// First branch for DOM objects; second branch for jQuery objects
var classes = node.className || node.attr('class');