- credit_icon_view: () ->\r
- new Pettanr.Views.Picture.CreditIcon({item: this})\r
- \r
- credit_view: (with_icon = true) ->\r
- new Pettanr.Views.Picture.Credit({item: this, with_icon: with_icon})\r
- \r
- picture_file: (subdir = null) ->\r
- new Pettanr.PictureFile(this, subdir)\r
- \r
- fetch: (options) ->\r
- if @id\r
- @credit_icon = @credit_icon_view()\r
- @credit = null\r
- f = (data, status) =>\r
- @credit = data\r
- @trigger('ready')\r
- $.get(@url + '/credit', null, f, 'html')\r
- super(options)\r
- \r