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:
395bbb6
)
Rename variable.
author
Mike Taylor
<mike@indexdata.com>
Wed, 26 Mar 2014 17:11:06 +0000
(17:11 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 26 Mar 2014 17:11:06 +0000
(17:11 +0000)
src/mkws-widgets.js
patch
|
blob
|
history
diff --git
a/src/mkws-widgets.js
b/src/mkws-widgets.js
index
cd66272
..
ade21d4
100644
(file)
--- a/
src/mkws-widgets.js
+++ b/
src/mkws-widgets.js
@@
-15,9
+15,9
@@
function widget($, team, type, node) {
return '[Widget ' + team.name() + ':' + type + ']';
}
- var promote = mkws.promotionFunction(type);
- if (promote) {
- promote.call(that);
+ var fn = mkws.promotionFunction(type);
+ if (fn) {
+ fn.call(that);
log("made " + type + " widget(node=" + node + ")");
} else {
log("made UNENCAPSULATED widget(type=" + type + ", node=" + node + ")");