OSDN Git Service

fix editor event
[pettanr/pettanr.git] / app / assets / javascripts / views / ground_pictures / element.js.coffee
index fbec768..fb4223d 100644 (file)
@@ -7,6 +7,9 @@ class Pettanr.Views.GroundPicture.Element extends Backbone.View
     @root = options.root\r
     @spot = options.spot\r
   \r
+  clear: () ->\r
+    this\r
+  \r
   render: () ->\r
     s = @style(@spot)\r
     _.extend(s, @style_wh())\r
@@ -16,6 +19,9 @@ class Pettanr.Views.GroundPicture.Element extends Backbone.View
     this.$el.attr(attr)\r
     this\r
   \r
+  add_element: (element) ->\r
+    null\r
+  \r
   style: (spot = null, opacity = 20) ->\r
     r = {\r
       position: 'absolute', \r