Local function log() is now a simple alias to team.log(), rather than invoking it.
authorMike Taylor <mike@indexdata.com>
Thu, 20 Nov 2014 10:13:08 +0000 (10:13 +0000)
committerMike Taylor <mike@indexdata.com>
Thu, 20 Nov 2014 10:13:08 +0000 (10:13 +0000)
src/mkws-widget.js

index 4e428b1..47fb6fd 100644 (file)
@@ -13,9 +13,7 @@ mkws.makeWidget = function($, team, type, node) {
     config: mkws.objectInheritingFrom(team.config)
   };
 
-  function log(s) {
-    team.log(s);
-  }
+  var log = team.log;
   that.log = log;
 
   that.toString = function() {