##// END OF EJS Templates
Simplify caching of modules from %run-ing scripts....
Simplify caching of modules from %run-ing scripts. Previously, we cleared and re-used a single FakeModule instance in which to run cells, and cached copies of the modules' namespaces to prevent them from being cleared. Now, we cache one FakeModule instance per script file, clearing it and re-using it if the same script is re-run. This seems more robust. Closes gh-3547

File last commit:

r11086:c137395d
r11207:279211b6
Show More
display_priority.tplx
39 lines | 1.1 KiB | text/plain | TextLexer
((= autogenerated file do not edit =))
((*- extends 'null.tplx' -*))
((=display data priority=))
((*- block data_priority scoped -*))
((*- for type in output | filter_data_type -*))
((*- if type in ['pdf']*))
((*- block data_pdf -*))
((*- endblock -*))
((*- endif -*))
((*- if type in ['svg']*))
((*- block data_svg -*))
((*- endblock -*))
((*- endif -*))
((*- if type in ['png']*))
((*- block data_png -*))
((*- endblock -*))
((*- endif -*))
((*- if type in ['html']*))
((*- block data_html -*))
((*- endblock -*))
((*- endif -*))
((*- if type in ['jpeg']*))
((*- block data_jpg -*))
((*- endblock -*))
((*- endif -*))
((*- if type in ['text']*))
((*- block data_text -*))
((*- endblock -*))
((*- endif -*))
((*- if type in ['latex']*))
((*- block data_latex -*))
((*- endblock -*))
((*- endif -*))
((*- endfor -*))
((*- endblock data_priority -*))