-
-
Save uzikilon/250d8a60725c802c5db6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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