From c3829e5f7dcd861fbb013b30e333fc46424767f0 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Thu, 20 Nov 2014 10:13:08 +0000 Subject: [PATCH] Local function log() is now a simple alias to team.log(), rather than invoking it. --- src/mkws-widget.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mkws-widget.js b/src/mkws-widget.js index 4e428b1..47fb6fd 100644 --- a/src/mkws-widget.js +++ b/src/mkws-widget.js @@ -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() { -- 1.7.10.4