\r
initialize: (options) ->\r
super(options)\r
+ \r
+ # no render\r
+ # get caption data and send message\r
+ render: () ->\r
if @item[@method_name()]\r
- @item[@method_name()]()\r
+ @item[@method_name()].call(@item, this, {\r
+ success: (caption) =>\r
+ @trigger('ready:caption', Pettanr.View.replace_empty(caption))\r
+ fail: (response, opt) =>\r
+ @trigger('ready:caption', I18n.t('yasapp.unresolved'))\r
+ })\r
+ this\r
\r
method_name: () ->\r
@my_manifest.method_name\r
\r
- caption: () ->\r
- @item.caption_text\r
- \r