mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-11-26 11:12:16 -05:00
18 lines
462 B
JavaScript
18 lines
462 B
JavaScript
|
/*global $, app, me*/
|
||
|
"use strict";
|
||
|
|
||
|
var StrictView = require('strictview');
|
||
|
var templates = require('../templates');
|
||
|
var ContactListItem = require('../views/contactListItem');
|
||
|
|
||
|
|
||
|
module.exports = StrictView.extend({
|
||
|
template: templates.body,
|
||
|
render: function () {
|
||
|
$('head').append(templates.head());
|
||
|
this.renderAndBind();
|
||
|
this.renderCollection(me.contacts, ContactListItem, this.$('#contactList'));
|
||
|
return this;
|
||
|
}
|
||
|
});
|