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) {
8383 wscheckfontsloaded ( msg , serviceUrl )
8484}
8585
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
8893
8994function fontloading ( ) {
9095 "use strict" ;
You can’t perform that action at this time.
0 commit comments