mirror of
https://github.com/moparisthebest/kaiwa
synced 2025-01-14 07:08:06 -05:00
21 lines
534 B
JavaScript
21 lines
534 B
JavaScript
/*global app*/
|
|
var BasePage = require('pages/base');
|
|
var templates = require('templates');
|
|
var ContactListItem = require('views/contactListItem');
|
|
|
|
|
|
module.exports = BasePage.extend({
|
|
template: templates.pages.main,
|
|
initialize: function (spec) {
|
|
this.render();
|
|
},
|
|
render: function () {
|
|
this.basicRender();
|
|
this.collectomatic(me.contacts, ContactListItem, {
|
|
containerEl: this.$('#contactList')
|
|
}, {quick: true});
|
|
this.handleBindings();
|
|
return this;
|
|
}
|
|
});
|