Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Simplify backend init func #556

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

haobibo
Copy link
Contributor

@haobibo haobibo commented Mar 29, 2017

The JS code in Py/R/Scala init() function seems to be same, can we move these JS code to the nb-extension/init/init.js file (which will be run in load_ipython_extension?

By doing so, init() function in kernel side can be simplified or even removed, so that the notebook user (Py/R/Scala) user won't need to run the init() function in kernel.

For this commit, users don't need to run declarativewidgets.init() any longer in Python.

The JS code in Py/R/Scala code seems the same, can we move these JS code
to the `nb-extension/init/init.js` file (which will be run in
load_ipython_extension?

By doing so, init function in kernel side can be simplified or even
removed, so that the notebook user (Py/R/Scala) user won't need to run
init function in kernel. (For this commit, users don't need to run
`declarativewidgets.init()` any longer in Python)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant