-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);
+ });
});