Skip to content

Commit 49de7fd

Browse files
authored
Fixes for vpython version 7.6.1
Changed the path to glowscript javascript library files in import script-loader statement. Commented out the line //ellipsoid = vp_ellipsoid because it causes a major problem in jupyterlab vpython extension.
1 parent ac8aa6b commit 49de7fd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

labextension/vpython/src/glowcommlab.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import 'script-loader!./vpython_libraries/jquery.min.js';
2-
import 'script-loader!./vpython_libraries/jquery-ui.custom.min.js';
3-
import 'script-loader!./vpython_libraries/glow.min.js';
4-
import 'script-loader!./vpython_libraries/plotly.min.js';
1+
import 'script-loader!../vpython_libraries/jquery.min.js';
2+
import 'script-loader!../vpython_libraries/jquery-ui.custom.min.js';
3+
import 'script-loader!../vpython_libraries/glow.min.js';
4+
import 'script-loader!../vpython_libraries/plotly.min.js';
55
import '../style/jquery-ui.custom.css'
66
import '../style/ide.css'
77

@@ -202,7 +202,7 @@ cylinder = vp_cylinder
202202
pyramid = vp_pyramid
203203
cone = vp_cone
204204
helix = vp_helix
205-
ellipsoid = vp_ellipsoid
205+
//ellipsoid = vp_ellipsoid // This line causes a big problem in jupyterlab vpython extension
206206
ring = vp_ring
207207
arrow = vp_arrow
208208
compound = vp_compound
@@ -1042,4 +1042,4 @@ function handle_attrs(dattrs) {
10421042
}
10431043
console.log("END OF GLOWCOMM")
10441044

1045-
//});
1045+
//});

0 commit comments

Comments
 (0)