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:
d253f36
)
More explicit logging for widget-creation
author
Mike Taylor
<mike@indexdata.com>
Wed, 19 Mar 2014 17:57:56 +0000
(17:57 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 19 Mar 2014 17:57:56 +0000
(17:57 +0000)
tools/htdocs/mkws.js
patch
|
blob
|
history
diff --git
a/tools/htdocs/mkws.js
b/tools/htdocs/mkws.js
index
b3cd04a
..
c506ccf
100644
(file)
--- a/
tools/htdocs/mkws.js
+++ b/
tools/htdocs/mkws.js
@@
-160,19
+160,24
@@
function widget($, team, type, node) {
if (type === 'Targets') {
promoteTargets();
if (type === 'Targets') {
promoteTargets();
+ team.debug("made targets widget(node=" + node + ")");
} else if (type === 'Stat') {
promoteStat();
} else if (type === 'Stat') {
promoteStat();
+ team.debug("made stat widget(node=" + node + ")");
} else if (type === 'Termlists') {
promoteTermlists();
} else if (type === 'Termlists') {
promoteTermlists();
+ team.debug("made termlists widget(node=" + node + ")");
} else if (type === 'Pager') {
promotePager();
} else if (type === 'Pager') {
promotePager();
+ team.debug("made pager widget(node=" + node + ")");
} else if (type === 'Records') {
promoteRecords();
} else if (type === 'Records') {
promoteRecords();
+ team.debug("made records widget(node=" + node + ")");
} else {
// ### Handle other types here
} else {
// ### Handle other types here
+ team.debug("made unencapsulated widget(type=" + type + ", node=" + node + ")");
}
}
- team.debug("made widget(type=" + type + ", node=" + node);
return that;
return that;