@repeat_texts: () -> \r
['repeat', 'repeat-x', 'repeat-y', 'no-repeat']\r
\r
+ panel: () ->\r
+ new Pettanr.Panel({id: @get('panel_id')})\r
+ \r
picture: () ->\r
new Pettanr.Picture({id: @get('picture_id')})\r
\r
- has_picture: () ->\r
+ @has_picture: () ->\r
true\r
\r
tmb_opt_img_tag: (picture) ->\r
symbol_option: (cb) ->\r
i = @picture()\r
_this = this\r
- i.fetch().done ->\r
+ i.fetch({cache: true}).done ->\r
cb(_this.tmb_opt_img_tag(i))\r
\r
repeat_text: () ->\r
Pettanr.GroundPicture.repeat_texts()[@get('repeat')]\r
\r
+ element_face: () ->\r
+ new Pettanr.Views.GroundPicture.ElementFace({element: this})\r
+ \r
initialize: () ->\r
if @id\r
@url = @url + @id\r
\r
-class Pettanr.GroundPicture.Collection extends Backbone.Collection\r
- model: Pettanr.GroundPicture\r
- url: '/ground_pictures/'\r
- \r