OSDN Git Service

t#:
[pettanr/pettanr.git] / app / assets / javascripts / views / ground_colors / element.js.coffee
index 45ffd1e..54965aa 100644 (file)
@@ -1,4 +1,4 @@
-class Pettanr.Views.GroundColor.Element extends Backbone.View\r
+class Pettanr.Views.GroundColor.Element extends Pettanr.View\r
   tagName: 'div'\r
   className: 'pettanr-comic-ground-color'\r
   \r
@@ -7,9 +7,6 @@ class Pettanr.Views.GroundColor.Element extends Backbone.View
     @root = options.root\r
     @spot = options.spot\r
   \r
-  clear: () ->\r
-    this\r
-  \r
   render: () ->\r
     @restyle()\r
     this\r
@@ -20,9 +17,6 @@ class Pettanr.Views.GroundColor.Element extends Backbone.View
     }\r
     this.$el.attr(attr)\r
   \r
-  add_element: (element) ->\r
-    null\r
-  \r
   div_offset: () ->\r
     if @element.get('xy')\r
       @element.get('xy')\r