Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var TableView = Backbone.View.extend({
initialize: function() {
this.template = _.template($('#table-row-individuals').html());
this.collection.bind('reset', this.render, this);
this.collection.bind('change', this.render, this);
}
});
var collection = new WidgetCollection([], { widgetGroup: 'individuals' });
var tableView = new TableView({collection: collection, el: $('#individuals-wo-goals-tablelist')})
collection.fetch();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.