sp.fetch().done ->\r
cb(sp.tmb_opt_img_tag())\r
\r
- outer_style: () ->\r
- {\r
- top: @get('y'), left: @get('x'), \r
- width: @get('width'), height: @get('height')\r
- }\r
- \r
- inner_style: () ->\r
- {\r
- 'font-size': Pettanr.to_s(@get('font_size')) + 'em',\r
- 'text-align': @text_align_text(), \r
- color: '#' + ('000000' + Pettanr.to_s(@get('fore_color'))).slice(-6)\r
- }\r
- \r
text_align_text: () ->\r
Pettanr.Speech.text_align_texts()[@get('text_align')]\r
\r
+ scenario: () ->\r
+ @boosts('read')\r
+ @render()\r
+ \r
initialize: () ->\r
if @id\r
@url = @url + @id\r
\r
-class Pettanr.Speech.Collection extends Backbone.Collection\r
- model: Pettanr.Speech\r
- url: '/Speeches'\r