OSDN Git Service

fix: fetch fail
[pettanr/pettanr.git] / app / assets / javascripts / view / layout / sns.js.coffee
1 class Pettanr.View.Layout.Sns.Header extends Pettanr.View\r
2   tagName: 'div'\r
3   id: 'header'\r
4   \r
5   initialize: (options) ->\r
6     @parent = options.parent\r
7   \r
8   render: () ->\r
9     this.$el.html('')\r
10     this\r
11   \r
12   refresh: (view) ->\r
13     this.$el.html(view.el)\r
14   \r
15 class Pettanr.View.Layout.Sns.Body extends Pettanr.View\r
16   tagName: 'div'\r
17   id: 'body'\r
18   \r
19   initialize: (options) ->\r
20     @parent = options.parent\r
21   \r
22   render: () ->\r
23     this.$el.html('')\r
24     this\r
25   \r
26   refresh: (view) ->\r
27     this.$el.html(view.el)\r
28   \r
29 class Pettanr.View.Layout.Sns.Footer extends Pettanr.View\r
30   tagName: 'div'\r
31   id: 'footer'\r
32   \r
33   initialize: (options) ->\r
34   \r
35   render: () ->\r
36     this.$el.html('')\r
37     this\r
38   \r