Skip to content

Conversation

gnestor
Copy link
Contributor

@gnestor gnestor commented Dec 6, 2016

Usage:

OutputArea.register_mime_type(MIME_TYPE, append_json, {
    safe: true,
    index: 1
});

Reference implementation: jupyterlab/mimerender-cookiecutter#9

@gnestor gnestor added this to the 4.3 milestone Dec 6, 2016
@gnestor
Copy link
Contributor Author

gnestor commented Dec 6, 2016

@Carreau @takluyver This is a non-breaking change that I'd like to squeeze into 4.3 before releasing. It makes nbextension registration more consistent with labextension.

@takluyver
Copy link
Member

Looks OK to me. @Carreau, you added this method, so I'll let you OK the change.

@takluyver
Copy link
Member

Oh, nvm. @gnestor made the PR to add it, @Carreau merged. I think this is fine, then. Go ahead and backport it.

@takluyver takluyver merged commit f0050e9 into jupyter:master Dec 7, 2016
@gnestor gnestor deleted the display_order-index branch December 7, 2016 16:01
gnestor added a commit to gnestor/notebook that referenced this pull request Dec 7, 2016
@gnestor
Copy link
Contributor Author

gnestor commented Dec 7, 2016

Backported 👍

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants