mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-11-22 09:12:19 -05:00
remove contactlistitemresource view
This commit is contained in:
parent
c722b4b1ec
commit
d1c7748416
@ -4,7 +4,6 @@
|
||||
var BasePage = require('./base');
|
||||
var templates = require('../templates');
|
||||
var ContactListItem = require('../views/contactListItem');
|
||||
var ContactListItemResource = require('../views/contactListItemResource');
|
||||
var Message = require('../views/message');
|
||||
var MessageModel = require('../models/message');
|
||||
|
||||
|
@ -1,27 +0,0 @@
|
||||
/*global $, app, me*/
|
||||
"use strict";
|
||||
|
||||
var _ = require('underscore');
|
||||
var StrictView = require('strictview');
|
||||
var templates = require('../templates');
|
||||
|
||||
|
||||
module.exports = StrictView.extend({
|
||||
template: templates.includes.contactListItemResource,
|
||||
classBindings: {
|
||||
show: ''
|
||||
},
|
||||
contentBindings: {
|
||||
jid: '.jid',
|
||||
status: '.status'
|
||||
},
|
||||
initialize: function (opts) {
|
||||
this.containerEl = opts.containerEl;
|
||||
this.render();
|
||||
},
|
||||
render: function () {
|
||||
this.subViewRender({context: {resource: this.model}});
|
||||
this.handleBindings();
|
||||
return this;
|
||||
}
|
||||
});
|
Loading…
Reference in New Issue
Block a user