caption_url: caption_url,\r
prof_url: prof_url\r
})\r
- _this = this\r
@panel = @item.panel({with_elements: true})\r
- @panel.fetch({cache: false}).done -> # with elements\r
- _this.author = new Pettanr.Views.Show.HeaderAuthor({item: _this.panel})\r
- _this.body = new Pettanr.Views.Panel.Body({\r
- panel: _this.panel,\r
- operators: _this.operators,\r
- spot: _this.item\r
+ @panel.fetch({cache: false}).done => # with elements\r
+ @author = new Pettanr.Views.Show.HeaderAuthor({item: @panel})\r
+ @body = new Pettanr.Views.Panel.Body({\r
+ panel: @panel,\r
+ operators: @operators,\r
+ spot: @item\r
})\r
- _this.credits = new Pettanr.Views.Panel.Show.Credits({panel: _this.panel})\r
+ @credits = new Pettanr.Views.Panel.Show.Credits({panel: @panel})\r
rb = new Tag.RowBreak()\r
- _this.$el.append(rb.render().el)\r
- _this.render()\r
+ this.$el.append(rb.render().el)\r
+ @render()\r
\r
render: () ->\r
this.$el.html('')\r