Created
September 29, 2014 09:11
-
-
Save yornaath/312ba77597e62bb783f5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
TableRowView backbone.View.extend({}) | |
TableView = backbone.View.extend({ | |
TableRowViewClass: TableRowView, | |
render: function() { | |
this.collection.forEach(function(model) { | |
itemview = new this.TableRowViewClass() | |
}) | |
} | |
}) | |
CustomerTableRowView = TableRowView.extend({}) | |
CustomerTableView = TableView.extend({ | |
TableRowViewClass: CustomerTableRowView | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment