class Pettanr.SpeechBalloon extends Peta.Element\r
+ url: '/speech_balloons/'\r
+ \r
@singular: () ->\r
'SpeechBalloon'\r
\r
t: null\r
} \r
\r
+ speech_balloon_template: () ->\r
+ new Pettanr.SpeechBalloonTemplate({id: @get('speech_balloon_template_id')})\r
+ \r
@has_picture: () ->\r
false\r
\r
- @symbol_option: () ->\r
- @speech_balloon_template.symbol_option\r
+ symbol_option: (cb) ->\r
+ sbt = @speech_balloon_template()\r
+ sbt.fetch().done ->\r
+ sp = sbt.system_picture()\r
+ sp.fetch().done ->\r
+ cb(sp.tmb_opt_img_tag())\r
+ \r
+ plain_scenario: () ->\r
+ @get('caption')\r
\r
initialize: () ->\r
if @id\r