Add another Handlebars helper, "compare".
[mkws-moved-to-github.git] / src / mkws-widget-authname.js
index a517e80..b96dad2 100644 (file)
@@ -1,7 +1,7 @@
-mkws.registerWidgetType('Authname', function() {
-    var that = this;
+mkws.registerWidgetType('auth-name', function() {
+  var that = this;
 
-    this.team.queue("authenticated").subscribe(function(authName) {
-       $(that.node).html(authName);
-    });
+  this.team.queue("authenticated").subscribe(function(authName) {
+    that.node.html(authName);
+  });
 });