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:
728d662
)
New file, mkws-widget-log.js
author
Mike Taylor
<mike@indexdata.com>
Mon, 31 Mar 2014 16:19:46 +0000
(17:19 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Mon, 31 Mar 2014 16:19:46 +0000
(17:19 +0100)
src/mkws-widget-log.js
[new file with mode: 0644]
patch
|
blob
diff --git a/src/mkws-widget-log.js
b/src/mkws-widget-log.js
new file mode 100644
(file)
index 0000000..
05af4fa
--- /dev/null
+++ b/
src/mkws-widget-log.js
@@ -0,0
+1,7
@@
+mkws.registerWidgetType('Log', function() {
+ var that = this;
+
+ this.team.queue("log").subscribe(function(teamName, timestamp, message) {
+ $(that.node).append(teamName + ": " + timestamp + message + "<br/>");
+ });
+});