1 _kiwi
.view
.Member
= Backbone
.View
.extend({
3 initialize: function (options
) {
4 this.model
.bind('change', this.render
, this);
9 prefix_css_class
= (this.model
.get('modes') || []).join(' ');
11 $this.attr('class', 'mode ' + prefix_css_class
);
12 $this.html('<a class="nick"><span class="prefix">' + this.model
.get("prefix") + '</span>' + this.model
.get("nick") + '</a>');