Merge pull request #1328 from SylvainCorlay/jupyter-js-widgets

The path for widgets has changed
This commit is contained in:
Jonathan Frederic 2016-04-10 09:07:51 -07:00
commit aaae433973

View File

@ -192,7 +192,7 @@ require([
})
// BEGIN HARDCODED WIDGETS HACK
.then(function() {
if (!utils.is_loaded('widgets/extension')) {
if (!utils.is_loaded('jupyter-js-widgets/extension')) {
// Fallback to the ipywidgets extension
utils.load_extension('widgets/notebook/js/extension').catch(function () {
console.warn('Widgets are not available. Please install widgetsnbextension or ipywidgets 4.0');