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:
900029b
)
Team-specific debug function now visible as team.debug.
author
Mike Taylor
<mike@indexdata.com>
Wed, 19 Mar 2014 17:02:48 +0000
(17:02 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 19 Mar 2014 17:02:48 +0000
(17:02 +0000)
This is used in the widget constructor.
tools/htdocs/mkws.js
patch
|
blob
|
history
diff --git
a/tools/htdocs/mkws.js
b/tools/htdocs/mkws.js
index
baf954f
..
b3cd04a
100644
(file)
--- a/
tools/htdocs/mkws.js
+++ b/
tools/htdocs/mkws.js
@@
-172,7
+172,7
@@
function widget($, team, type, node) {
// ### Handle other types here
}
- mkws.debug("made widget(team=" + team.name() + ", type=" + type + ", node=" + node);
+ team.debug("made widget(type=" + type + ", node=" + node);
return that;
@@
-414,6
+414,7
@@
function team($, teamName) {
mkws.debug(m_teamName + ": " + timestamp + s);
}
+ that.debug = debug;
debug("start running MKWS");