Moving thingiview.js into extlib/
authorChristopher Allan Webber <cwebber@dustycloud.org>
Mon, 3 Dec 2012 20:57:52 +0000 (14:57 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Mon, 3 Dec 2012 20:57:52 +0000 (14:57 -0600)
extlib/thingiview.js/LICENSE [moved from mediagoblin/static/js/thingiview.js/LICENSE with 100% similarity]
extlib/thingiview.js/Three.js [moved from mediagoblin/static/js/thingiview.js/Three.js with 100% similarity]
extlib/thingiview.js/binaryReader.js [moved from mediagoblin/static/js/thingiview.js/binaryReader.js with 100% similarity]
extlib/thingiview.js/plane.js [moved from mediagoblin/static/js/thingiview.js/plane.js with 100% similarity]
extlib/thingiview.js/stats.js [moved from mediagoblin/static/js/thingiview.js/stats.js with 100% similarity]
extlib/thingiview.js/thingiloader.js [moved from mediagoblin/static/js/thingiview.js/thingiloader.js with 100% similarity]
extlib/thingiview.js/thingiview.js [moved from mediagoblin/static/js/thingiview.js/thingiview.js with 100% similarity]
mediagoblin/templates/mediagoblin/media_displays/stl.html

index 7802bab4117d887475ce90342ffcf6a21a780db1..043faac87012de01c2803f09dab3db87d1ca1302 100644 (file)
@@ -44,9 +44,9 @@
 </style>
 
 {% if media.media_data.file_type == "stl" %}
-<script src="{{ request.staticdirect('/js/thingiview.js/Three.js') }}"></script>
-<script src="{{ request.staticdirect('/js/thingiview.js/plane.js') }}"></script>
-<script src="{{ request.staticdirect('/js/thingiview.js/thingiview.js') }}"></script>
+  <script src="{{ request.staticdirect('/js/extlib/thingiview.js/Three.js') }}"></script>
+  <script src="{{ request.staticdirect('/js/extlib/thingiview.js/plane.js') }}"></script>
+  <script src="{{ request.staticdirect('/js/extlib/thingiview.js/thingiview.js') }}"></script>
 {% endif %}
 
 
@@ -71,7 +71,7 @@ window.show_things = function () {
         show('thingy_view');
     };
     window.show("thingy_view");
-    thingiurlbase = "{{ request.staticdirect('/js/thingiview.js') }}";
+    thingiurlbase = "{{ request.staticdirect('/js/extlib/thingiview.js') }}";
     thingiview = new Thingiview("thingy_view");
     thingiview.setObjectColor('#821543');
     thingiview.initScene();