OSDN Git Service

clean
[pettanr/pettanr.git] / app / assets / javascripts / models / system_picture.js.coffee
index 024469d..52f514b 100644 (file)
@@ -35,9 +35,8 @@ class Pettanr.SystemPicture extends Peta.SystemResource
     })\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
   initialize: () ->\r
     if @id\r