Recompiled (though I don't know why a compiled file is in git).
[mkws-moved-to-github.git] / src / mkws-widget.js
index d060e32..d254019 100644 (file)
@@ -13,7 +13,6 @@ mkws.makeWidget = function($, team, type, node) {
     config: mkws.objectInheritingFrom(team.config)
   };
 
-  that.log = team.log;
   that.trace = team.trace;
   that.debug = team.debug;
   that.info = team.info;
@@ -183,7 +182,7 @@ mkws.makeWidget = function($, team, type, node) {
   if (fn) {
     fn.call(that);
     this.info("made " + type + " widget(node=" + node + ")");
-  } else if (type.match(/-Container-(narrow|wide)$/)) {
+  } else if (type.match(/-[Cc]ontainer-(narrow|wide)$/)) {
     // Not really a widget: no need to log its lack of promotion
   } else {
     this.info("made UNPROMOTED widget(type=" + type + ", node=" + node + ")");