File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -83,8 +83,13 @@ export function setupWebsocket(msg,serviceUrl) {
83
83
wscheckfontsloaded ( msg , serviceUrl )
84
84
}
85
85
86
- var datadir = '/static/lab/vpython_data/'
87
- window . Jupyter_VPython = "/static/lab/vpython_data/" // prefix used by glow.min.js for textures
86
+ // Old datadir value for a source extension npm package. (used prior to JupyterLab 3.0)
87
+ //var datadir = '/static/lab/vpython_data/'
88
+ //window.Jupyter_VPython = "/static/lab/vpython_data/" // prefix used by glow.min.js for textures
89
+
90
+ // New datadir value for a prebuilt extension (new in JupyterLab 3.0)
91
+ var datadir = '/lab/extensions/vpython/static/vpython_data/'
92
+ window . Jupyter_VPython = "/lab/extensions/vpython/static/vpython_data/" // prefix used by glow.min.js for textures
88
93
89
94
function fontloading ( ) {
90
95
"use strict" ;
You can’t perform that action at this time.
0 commit comments