diff --git a/assets/javascripts/application.js b/assets/javascripts/application.js index d88a0a9..1946479 100644 --- a/assets/javascripts/application.js +++ b/assets/javascripts/application.js @@ -10,6 +10,11 @@ Heroes = Backbone.Collection.extend({ model: Hero }); +VillainView = Backbone.Marionette.ItemView.extend({ + template: "#villain-template", + tagName: "li" +}); + HeroView = Backbone.Marionette.CompositeView.extend({ template: "#accordion-group-template", diff --git a/index.html b/index.html index 9625cd6..729120c 100644 --- a/index.html +++ b/index.html @@ -18,6 +18,10 @@
+ +