Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <dt><i class="icon-<%= icon %>"></i><%= title %></dt>
- <dd><%= content %> </dd>
- var Definitions = Backbone.View.extend({
- tagName: 'dl',
- initialize: function () {
- this.collection.on('change', this.render, this);
- }
- render: function () {
- this.$el.html( <output from template that loops over all definitions> );
- }
- });
Add Comment
Please, Sign In to add comment