OSDN Git Service

clean
[pettanr/pettanr.git] / app / assets / javascripts / models / picture.js.coffee
index c7f0f6d..2747127 100644 (file)
@@ -50,9 +50,8 @@ class Pettanr.Picture extends Peta.Content
     lgn + '[' + ln + ']'\r
   \r
   symbol_option: (cb) ->\r
-    _this = this\r
-    this.fetch({cache: true}).done ->\r
-      cb(_this.tmb_opt_img_tag())\r
+    @fetch({cache: true}).done =>\r
+      cb(@tmb_opt_img_tag())\r
   \r
   is_enable: () ->\r
     if @head().resource_picture()\r