projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New file, and the first standalone widget:
[mkws-moved-to-github.git]
/
src
/
mkws-widget-authname.js
diff --git a/src/mkws-widget-authname.js
b/src/mkws-widget-authname.js
new file mode 100644
(file)
index 0000000..
a517e80
--- /dev/null
+++ b/
src/mkws-widget-authname.js
@@ -0,0
+1,7
@@
+mkws.registerWidgetType('Authname', function() {
+ var that = this;
+
+ this.team.queue("authenticated").subscribe(function(authName) {
+ $(that.node).html(authName);
+ });
+});