1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-15 05:55:01 -05:00
kaiwa/clientapp/views/mucRosteritem.js

25 lines
511 B
JavaScript
Raw Normal View History

2013-12-31 18:02:07 -05:00
/*global $, app, me*/
"use strict";
var _ = require('underscore');
var HumanView = require('human-view');
var templates = require('../templates');
module.exports = HumanView.extend({
template: templates.includes.mucRosterItem,
classBindings: {
show: '',
chatState: '',
idle: '',
persistent: ''
2013-12-31 18:02:07 -05:00
},
textBindings: {
mucDisplayName: '.name'
},
render: function () {
this.renderAndBind({contact: this.model});
return this;
}
});