OSDN Git Service

clean
[pettanr/pettanr.git] / app / assets / javascripts / models / panel_picture.js.coffee
index 3c3003d..8547958 100644 (file)
@@ -51,9 +51,8 @@ class Pettanr.PanelPicture extends Peta.Element
   \r
   symbol_option: (cb) ->\r
     i = @picture()\r
-    _this = this\r
-    i.fetch({cache: true}).done ->\r
-      cb(_this.tmb_opt_img_tag(i))\r
+    i.fetch({cache: true}).done =>\r
+      cb(@tmb_opt_img_tag(i))\r
   \r
   element_face: () ->\r
     new Pettanr.Views.PanelPicture.ElementFace({element: this})\r