OSDN Git Service

fix: view
[pettanr/pettanr.git] / app / assets / javascripts / view / summary.js.coffee
1 class Pettanr.View.Summary extends Pettanr.View\r
2   \r
3   constructor: (options) ->\r
4     super(options)\r
5   \r
6   initialize: (options) ->\r
7     @clear()\r
8     @listenTo(this, 'ready', @render)\r
9   \r
10   clear: () ->\r
11     icon = new Pettanr.View.Minicon(Pettanr.View.Image.icon_loading_file())\r
12     this.$el.html(icon.render().el)\r
13     this\r
14   \r
15   render: () ->\r
16     this.$el.html('')\r
17     this\r
18   \r