Skip to content

Commit

Permalink
fix: add Voila >= 0.2.8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
mariobuikhuizen committed Apr 26, 2021
1 parent 9c0ead3 commit 18afb4e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions share/jupyter/nbconvert/templates/vuetify-base/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,24 @@ function getWidgetManager(voila, kernel) {
saveState: {
connect: () => {}
},
/* voila >= 0.2.8 */
sessionContext: {
session: {
kernel
},
kernelChanged: {
connect: () => {
}
},
statusChanged: {
connect: () => {
}
},
connectionStatusChanged: {
connect: () => {
}
},
},
};

const settings = {
Expand Down

0 comments on commit 18afb4e

Please sign in to comment.