OSDN Git Service

fix summary
[pettanr/pettanr.git] / app / assets / javascripts / views / story_sheets / summary.js.coffee
index 493bb87..95d86fa 100644 (file)
@@ -1,10 +1,7 @@
-class Pettanr.Views.StorySheet.Summary extends Backbone.View\r
+class Pettanr.Views.StorySheet.Summary extends Pettanr.Views.Common.Leaf.Summary\r
   \r
   initialize: (options) ->\r
+    options['binder_item_name'] = 'story'\r
+    options['destination_item_name'] = 'sheet'\r
     super(options)\r
   \r
-  render: () ->\r
-    this.$el.html('')\r
-    this.$el.append('-')\r
-    this\r
-  \r