@has_picture: () ->\r
false\r
\r
- symbol_option: (cb) ->\r
+ symbol_option: () ->\r
sbt = @speech_balloon_template()\r
- sbt.fetch().done ->\r
+ sbt.fetch({cache: true}).done =>\r
sp = sbt.system_picture()\r
- sp.fetch().done ->\r
- cb(sp.tmb_opt_img_tag())\r
+ sp.fetch({cache: true}).done =>\r
+ @symbol_picture = sp.tmb_opt_img_tag()\r
+ @trigger('ready:symbol')\r
+ \r
+ filer_caption: () ->\r
+ @fetch({cache: true}).done =>\r
+ @caption_text = @escape('caption')\r
+ @trigger('ready:caption')\r
\r
plain_scenario: () ->\r
@get('caption')\r
\r
+ element_face: () ->\r
+ new Pettanr.Views.SpeechBalloon.ElementFace({element: this})\r
+ \r
initialize: () ->\r
if @id\r
@url = @url + @id\r
\r
-class Pettanr.SpeechBalloon.Collection extends Backbone.Collection\r
- model: Pettanr.SpeechBalloon\r
- url: '/speech_balloons/'\r
- \r