From aced2c4c875e5339de53ccdf645c5eb767fd00a1 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 16 Apr 2014 15:34:25 +0100 Subject: [PATCH] Make Builder widget customisable by "callback" element. Add new ConsoleBuilder widget that logs the widget to the console. --- src/mkws-widget-builder.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/mkws-widget-builder.js b/src/mkws-widget-builder.js index fb8491c..6460b61 100644 --- a/src/mkws-widget-builder.js +++ b/src/mkws-widget-builder.js @@ -1,4 +1,5 @@ mkws.registerWidgetType('Builder', function() { + var that = this; var team = this.team; this.button = $('