OSDN Git Service

fix summary
[pettanr/pettanr.git] / app / assets / javascripts / models / scroll_panel.js.coffee
index 6224126..a4ed1fd 100644 (file)
@@ -14,6 +14,12 @@ class Pettanr.ScrollPanel extends Peta.Leaf
     t: null\r
   } \r
   \r
+  scroll: () ->\r
+    new Pettanr.Scroll({id: @get('scroll_id')})\r
+  \r
+  panel: () ->\r
+    new Pettanr.Panel({id: @get('panel_id')})\r
+  \r
   initialize: () ->\r
     if @id\r
       @url = @url + @id\r