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:
76f8c51
)
Add straight-through aliases for trace(), debug() etc.
author
Mike Taylor
<mike@indexdata.com>
Thu, 20 Nov 2014 10:53:45 +0000
(10:53 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Thu, 20 Nov 2014 10:53:45 +0000
(10:53 +0000)
src/mkws-widget.js
patch
|
blob
|
history
diff --git
a/src/mkws-widget.js
b/src/mkws-widget.js
index
bb10767
..
1b5445a
100644
(file)
--- a/
src/mkws-widget.js
+++ b/
src/mkws-widget.js
@@
-14,6
+14,12
@@
mkws.makeWidget = function($, team, type, node) {
};
that.log = team.log;
+ that.trace = team.trace;
+ that.debug = team.debug;
+ that.info = team.info;
+ that.warn = team.warn;
+ that.error = team.error;
+ that.fatal = team.fatal;
that.toString = function() {
return '[Widget ' + team.name() + ':' + type + ']';