From: Mike Taylor Date: Mon, 11 Aug 2014 13:20:37 +0000 (+0100) Subject: Add comment on scoping. X-Git-Tag: 1.0.0~39^2~7^2~4^2~24 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=1d463ff7b1cf5930087bb848b7175f4f89e04047;p=mkws-moved-to-github.git Add comment on scoping. --- diff --git a/src/mkws-widget.js b/src/mkws-widget.js index 722db5e..9a3a7f7 100644 --- a/src/mkws-widget.js +++ b/src/mkws-widget.js @@ -66,6 +66,7 @@ function widget($, team, type, node) { return s.join(''); }; + // ### why is this a member function? It's never called from outside this file. that.expandValue = function(val) { if (val.match(/^!param!/)) { var param = val.replace(/^!param!/, '');