t: null\r
} \r
\r
- panel: () ->\r
- new Pettanr.Panel({id: @get('panel_id')})\r
+ panel: (options = {}) ->\r
+ new Pettanr.Panel({id: @get('panel_id')}, options)\r
\r
speech_balloon_template: () ->\r
new Pettanr.SpeechBalloonTemplate({id: @get('speech_balloon_template_id')})\r
@has_picture: () ->\r
false\r
\r
- symbol_option: (cb) ->\r
+ symbol_option: () ->\r
sbt = @speech_balloon_template()\r
- sbt.fetch({cache: true}).done ->\r
+ sbt.fetch({cache: true}).done =>\r
sp = sbt.system_picture()\r
- sp.fetch({cache: true}).done ->\r
- cb(sp.tmb_opt_img_tag())\r
+ sp.fetch({cache: true}).done =>\r
+ @trigger('ready:symbol', sp.tmb_opt_img_tag())\r
+ \r
+ filer_caption: () ->\r
+ @fetch({cache: true}).done =>\r
+ caption = @escape('caption')\r
+ @trigger('ready:caption', caption)\r
\r
plain_scenario: () ->\r
@get('caption')\r