projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec689d3
)
Insert semicolons after all statements of the form
author
Mike Taylor
<mike@indexdata.com>
Thu, 27 Mar 2014 13:19:01 +0000
(13:19 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Thu, 27 Mar 2014 13:19:01 +0000
(13:19 +0000)
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
patch
|
blob
|
history
diff --git
a/src/mkws-widgets.js
b/src/mkws-widgets.js
index
78e98cf
..
bc3499e
100644
(file)
--- 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) {