summarylogtreecommitdiffstats
path: root/sagemath-threejs.patch
diff options
context:
space:
mode:
authorAntonio Rojas2017-10-04 18:23:16 +0000
committerAntonio Rojas2017-10-04 18:23:16 +0000
commit9fe620a24536ea21597de19dc196c8f8b670fb81 (patch)
treed660a524065887e0256de3db9e40c412ce33012b /sagemath-threejs.patch
parent161dd1ef9a6bd066663bb4250e12fb7f8841fed2 (diff)
downloadaur-9fe620a24536ea21597de19dc196c8f8b670fb81.tar.gz
Sync with stable
Diffstat (limited to 'sagemath-threejs.patch')
-rw-r--r--sagemath-threejs.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sagemath-threejs.patch b/sagemath-threejs.patch
new file mode 100644
index 000000000000..ec9453c03e67
--- /dev/null
+++ b/sagemath-threejs.patch
@@ -0,0 +1,11 @@
+--- a/src/sage/repl/rich_output/display_manager.py
++++ b/src/sage/repl/rich_output/display_manager.py
+@@ -744,7 +744,7 @@ class DisplayManager(SageObject):
+ """
+ if online:
+ from sage.misc.package import installed_packages
+- version = installed_packages()['threejs']
++ version = 'r80'
+ return """
+ <script src="https://cdn.rawgit.com/mrdoob/three.js/{0}/build/three.min.js"></script>
+ <script src="https://cdn.rawgit.com/mrdoob/three.js/{0}/examples/js/controls/OrbitControls.js"></script>