OSDN Git Service

add app body
[pettanr/pettanr.git] / app / assets / javascripts / models / ground_picture.js.coffee
index ec7bf15..251b8ab 100644 (file)
@@ -17,8 +17,8 @@ class Pettanr.GroundPicture extends Peta.Element
   @repeat_texts: () -> \r
     ['repeat', 'repeat-x', 'repeat-y', 'no-repeat']\r
   \r
-  panel: () ->\r
-    new Pettanr.Panel({id: @get('panel_id')})\r
+  panel: (options = {}) ->\r
+    new Pettanr.Panel({id: @get('panel_id')}, options)\r
   \r
   picture: () ->\r
     new Pettanr.Picture({id: @get('picture_id')})\r