class Pettanr.View.Summary extends Pettanr.View\r
\r
- constructor: (options) ->\r
+ constructor: (@item, @context, options) ->\r
super(options)\r
\r
initialize: (options) ->\r
- @clear()\r
- @listenTo(this, 'ready', @render)\r
- \r
- clear: () ->\r
- icon = new Pettanr.View.Minicon(Pettanr.View.Image.icon_loading_file())\r
- this.$el.html(icon.render().el)\r
- this\r
- \r
- render: () ->\r
- this.$el.html('')\r
- this\r
+ super(options)\r
\r