From 70eb14cc0f955186b527c3e2c02012bc6dbc3e5e Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Tue, 31 Dec 2013 15:10:46 -0800 Subject: [PATCH] Somehow this got left out? --- clientapp/views/mucRosterItem.js | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 clientapp/views/mucRosterItem.js diff --git a/clientapp/views/mucRosterItem.js b/clientapp/views/mucRosterItem.js new file mode 100644 index 0000000..9704ce4 --- /dev/null +++ b/clientapp/views/mucRosterItem.js @@ -0,0 +1,23 @@ +/*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: '' + }, + textBindings: { + mucDisplayName: '.name' + }, + render: function () { + this.renderAndBind({contact: this.model}); + return this; + } +});