##// END OF EJS Templates
Use istype() when checking if canned object is a dict...
Use istype() when checking if canned object is a dict Using istype(canned, dict) instead of isinstance(canned, dict) ensures that dict subclasses retain their type during unserialization. This also agrees with the implementation of serialize_object().

File last commit:

r11770:6b8a9d57
r12199:6a72b2cc
Show More
slides.tpl
16 lines | 327 B | application/vnd.groove-tool-template | SmartyLexer
{%- extends 'reveal_internals/subslides.tpl' -%}
{%- block any_cell scoped -%}
{%- if cell.metadata.slide_type in ['slide'] -%}
<section>
<section>
{%- endif -%}
{{ super() }}
{%- if cell.metadata.slide_helper in ['slide_end'] -%}
</section>
</section>
{%- endif -%}
{%- endblock any_cell -%}