Skip to content

Commit 1b4b6c9

Browse files
authored
Updated for JupyterLab 2 and 3
Updated to work with JupyterLab 2 and 3
1 parent 86241b2 commit 1b4b6c9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

labextension/vpython/src/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ class VPythonExtension implements DocumentRegistry.IWidgetExtension<NotebookPane
3535
*/
3636
createNew(panel: NotebookPanel, context: DocumentRegistry.IContext<INotebookModel>): IDisposable {
3737

38-
//Promise.all([panel.revealed, panel.sessionContext.ready, context.ready]).then(function() {
39-
// sessionContext: ISessionContext
4038
Promise.all([panel.revealed, panel.sessionContext.ready, context.ready]).then(function() {
4139
const session = context.sessionContext.session;
4240
const kernelInstance = session.kernel;

0 commit comments

Comments
 (0)