})\r
\r
symbol_option: (cb) ->\r
- _this = this\r
- this.fetch({cache: true}).done ->\r
- cb(_this.tmb_opt_img_tag())\r
+ this.fetch({cache: true}).done =>\r
+ cb(@tmb_opt_img_tag())\r
\r
revision: () ->\r
new Pettanr.OriginalPicture.Head({original_picture: this})\r
@pictures = new Pettanr.OriginalPicture.History({id: @original_picture.get('id')})\r
\r
render: () ->\r
- _this = this\r
- @pictures.fetch({cache: true}).done ->\r
- head = _this.pictures.models[0]\r
+ @pictures.fetch({cache: true}).done =>\r
+ head = @pictures.models[0]\r
value = if head\r
head.get('revision')\r
else\r
'unpublished'\r
- _this.$el.html(value)\r
+ this.$el.html(value)\r
this\r
\r