Skip to content

Commit

Permalink
parameterize a little better
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave McLain committed Oct 17, 2011
1 parent 78b258c commit a946323
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ window.NodeListView = Backbone.View.extend({
model: node,
id: node.cid,
prefix: this.options.prefix,
template: _.template($('#nodes-list-item-template').html())
template: _.template($('#'+this.options.prefix+'-list-item-template').html())
});
$(this.el).append(view.render().el);
},
Expand Down

0 comments on commit a946323

Please sign in to comment.