OSDN Git Service

clean
[pettanr/pettanr.git] / app / assets / javascripts / views / panels / show.js.coffee
index 0af75f2..3733d80 100644 (file)
@@ -49,11 +49,10 @@ class Pettanr.Views.Panel.Show.Credits extends Backbone.View
     @pictures = options.pictures\r
   \r
   render: () ->\r
-    _this = this\r
     this.$el.html('')\r
-    _.each @pictures, (picture) ->\r
-      picture.fetch({cache: true}).done ->\r
+    _.each @pictures, (picture) =>\r
+      picture.fetch({cache: true}).done =>\r
         credit = picture.credit_view()\r
-        _this.$el.append(credit.render().el)\r
+        this.$el.append(credit.render().el)\r
     this\r
   \r