jupyter / declarativewidgets

[RETIRED] Jupyter Declarative Widget Extension
http://jupyter.org/declarativewidgets/docs.html
Other
120 stars 38 forks source link

Simplify backend init func #556

Open haobibo opened 7 years ago

haobibo commented 7 years ago

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.