##// END OF EJS Templates
get cell correctly in nested context...
get cell correctly in nested context fix some extensions like live_reveal the .not('.cell .cell') part prevent the potential selection of DOM elelment that would have the class cell from any output. In each branch of the dom we thus select the first decendent node that have the class '.cell'.

File last commit:

r19043:61844265
r19086:baacd87d
Show More
__init__.py
23 lines | 696 B | text/x-python | PythonLexer
"""The main API for the v4 notebook format."""
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
__all__ = ['nbformat', 'nbformat_minor', 'nbformat_schema', 'new_code_cell',
'new_markdown_cell', 'new_notebook', 'new_output', 'output_from_msg',
'reads', 'writes', 'to_notebook', 'downgrade', 'upgrade']
from .nbbase import (
nbformat, nbformat_minor, nbformat_schema,
new_code_cell, new_markdown_cell, new_notebook,
new_output, output_from_msg,
)
from .nbjson import reads, writes, to_notebook
reads_json = reads
writes_json = writes
to_notebook_json = to_notebook
from .convert import downgrade, upgrade