X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=app%2Fassets%2Fjavascripts%2Fviews%2Fground_colors%2Felement.js.coffee;h=54965aa7a733f23069b851f982cb3d5f60e19b01;hb=87dc80d4ea2b9b1cfb5273c403b50c001225a61a;hp=45ffd1e2f6c956f916e567997ea17227c404e31d;hpb=b5b5fe7a5c2e1e7705bd43b1e1fcdd70228dedf3;p=pettanr%2Fpettanr.git diff --git a/app/assets/javascripts/views/ground_colors/element.js.coffee b/app/assets/javascripts/views/ground_colors/element.js.coffee index 45ffd1e2..54965aa7 100644 --- a/app/assets/javascripts/views/ground_colors/element.js.coffee +++ b/app/assets/javascripts/views/ground_colors/element.js.coffee @@ -1,4 +1,4 @@ -class Pettanr.Views.GroundColor.Element extends Backbone.View +class Pettanr.Views.GroundColor.Element extends Pettanr.View tagName: 'div' className: 'pettanr-comic-ground-color' @@ -7,9 +7,6 @@ class Pettanr.Views.GroundColor.Element extends Backbone.View @root = options.root @spot = options.spot - clear: () -> - this - render: () -> @restyle() this @@ -20,9 +17,6 @@ class Pettanr.Views.GroundColor.Element extends Backbone.View } this.$el.attr(attr) - add_element: (element) -> - null - div_offset: () -> if @element.get('xy') @element.get('xy')