lib/resources/backends/slim/revealjs/section.html.slim in hyla-1.0.7.pre.1 vs lib/resources/backends/slim/revealjs/section.html.slim in hyla-1.0.7.pre.2
- old
+ new
@@ -1,18 +1,18 @@
- resize_text = (attr? :resize_section) ? (attr :resize_section) : false
- if resize_text == 'true'
div style="position:absolute; top:150px; left:10px; right:10px;"
section id=@id class=(attr 'data-state') data-transition=(attr 'data-transition') data-transition-speed=(attr 'data-transition-speed') data-background=(attr 'data-background') data-background-size=(attr 'data-background-size') data-background-repeat=(attr 'data-background-repeat') data-background-transition=(attr 'data-background-transition')
h2=title
- - if attr? :scrollbar
+ - if (attr? :scrollbar) || (attr? :revealjs_scrollbar)
.scrollbar
=content
- else
=content.chomp
- else
section id=@id class=(attr 'data-state') data-transition=(attr 'data-transition') data-transition-speed=(attr 'data-transition-speed') data-background=(attr 'data-background') data-background-size=(attr 'data-background-size') data-background-repeat=(attr 'data-background-repeat') data-background-transition=(attr 'data-background-transition')
h2=title
- - if attr? :scrollbar
+ - if (attr? :scrollbar) || (attr? :revealjs_scrollbar)
.scrollbar
=content
- else
=content.chomp
\ No newline at end of file