Skip to content

[toc2] only set notebook dirty if metadata item changed#1178

Merged
jcb91 merged 1 commit intoipython-contrib:masterfrom
jcb91:t2_0
Dec 19, 2017
Merged

[toc2] only set notebook dirty if metadata item changed#1178
jcb91 merged 1 commit intoipython-contrib:masterfrom
jcb91:t2_0

Conversation

@jcb91
Copy link
Copy Markdown
Member

@jcb91 jcb91 commented Dec 19, 2017

ToC setting the notebook dirty every time it loaded was annoying me.
This uses deep compare if underscore is available.
In other cases, the shallow compare means object like toc_position will
always look changed, but that's ok, as it only gets set when something
gets moved anyway.

ToC setting the notebook dirty every time it loaded was annoying me.
This uses deep compare if underscore is available.
In other cases, the shallow compare means object like toc_position will
always look changed, but that's ok, as it only gets set when something
gets moved anyway.
@jcb91 jcb91 merged commit 579ed5d into ipython-contrib:master Dec 19, 2017
@jcb91 jcb91 deleted the t2_0 branch December 21, 2017 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant