[DRE-commits] [gitlab] 01/01: use umd format for three

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Tue Dec 26 15:53:12 UTC 2017


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch syslibs
in repository gitlab.

commit 50fc77c652a434a52bd159d20aef169e6c58ca6a
Author: Pirate Praveen <praveen at debian.org>
Date:   Tue Dec 26 21:10:41 2017 +0530

    use umd format for three
---
 debian/patches/0500-use-umd.patch | 19 +++++++++++++++++++
 debian/patches/series             |  1 +
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/0500-use-umd.patch b/debian/patches/0500-use-umd.patch
new file mode 100644
index 0000000..1ed2dfd
--- /dev/null
+++ b/debian/patches/0500-use-umd.patch
@@ -0,0 +1,19 @@
+--- a/app/assets/javascripts/blob/3d_viewer/index.js
++++ b/app/assets/javascripts/blob/3d_viewer/index.js
+@@ -1,4 +1,4 @@
+-import * as THREE from 'three/build/three.module';
++import * as THREE from 'three/build/three';
+ import STLLoaderClass from 'three-stl-loader';
+ import OrbitControlsClass from 'three-orbit-controls';
+ import MeshObject from './mesh_object';
+--- a/app/assets/javascripts/blob/3d_viewer/mesh_object.js
++++ b/app/assets/javascripts/blob/3d_viewer/mesh_object.js
+@@ -2,7 +2,7 @@
+   Matrix4,
+   MeshLambertMaterial,
+   Mesh,
+-} from 'three/build/three.module';
++} from 'three/build/three';
+ 
+ const defaultColor = 0xE24329;
+ const materials = {
diff --git a/debian/patches/series b/debian/patches/series
index de82605..94b045f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -17,3 +17,4 @@ pid-log-paths.patch
 0430-remove-devdeps.patch
 add-system-lib-path-for-webpack.patch
 fix-mail-room-path.patch
+0500-use-umd.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gitlab.git



More information about the Pkg-ruby-extras-commits mailing list