From: Mike Taylor Date: Thu, 27 Mar 2014 13:19:01 +0000 (+0000) Subject: Insert semicolons after all statements of the form X-Git-Tag: 1.0.0~1153 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=4af6d952571f1660d2714f66ccf78c87b08af630;hp=ec689d378107f90be870c5843d1f6922eb90c655;p=mkws-moved-to-github.git Insert semicolons after all statements of the form mkws.FN = function(args) { ... } Missing them off is usually all right, but when it goes wrong (as when I missed the semi-colon from the end of the recently-moved mkws.log definition) it goes catastrophically wrong and is very hard to debug. --- diff --git a/src/mkws-widgets.js b/src/mkws-widgets.js index 78e98cf..bc3499e 100644 --- a/src/mkws-widgets.js +++ b/src/mkws-widgets.js @@ -13,7 +13,7 @@ function widget($, team, type, node) { that.toString = function() { return '[Widget ' + team.name() + ':' + type + ']'; - } + }; var fn = mkws.promotionFunction(type); if (fn) {