##// END OF EJS Templates
Backport PR #4136: catch javascript errors in any output...
Backport PR #4136: catch javascript errors in any output not just javascript. catches js errors appending anything to the output area, such as js in HTML (#4095). closes #4095

File last commit:

r11770:6b8a9d57
r12464:25546b59
Show More
align_reveal_cells.tpl
16 lines | 427 B | application/vnd.groove-tool-template | SmartyLexer
{%- extends 'reveal_internals/reveal_cells.tpl' -%}
{%- block any_cell scoped -%}
{%- if cell.metadata.align_type in ['Left'] -%}
{{ super() }}
{%- elif cell.metadata.align_type in ['center'] -%}
<div style="text-align:center">
{{ super() }}
</div>
{%- elif cell.metadata.align_type in ['right'] -%}
<div style="text-align:right">
{{ super() }}
</div>
{%- endif -%}
{%- endblock any_cell -%}