From 4af6d952571f1660d2714f66ccf78c87b08af630 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Thu, 27 Mar 2014 13:19:01 +0000 Subject: [PATCH] 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. --- src/mkws-widgets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 1.7.10.4