From: Christopher Allan Webber Date: Mon, 3 Dec 2012 20:57:52 +0000 (-0600) Subject: Moving thingiview.js into extlib/ X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=78d932e7928a39311309e4e89a47fb3d992feac7;p=mediagoblin.git Moving thingiview.js into extlib/ --- diff --git a/mediagoblin/static/js/thingiview.js/LICENSE b/extlib/thingiview.js/LICENSE similarity index 100% rename from mediagoblin/static/js/thingiview.js/LICENSE rename to extlib/thingiview.js/LICENSE diff --git a/mediagoblin/static/js/thingiview.js/Three.js b/extlib/thingiview.js/Three.js similarity index 100% rename from mediagoblin/static/js/thingiview.js/Three.js rename to extlib/thingiview.js/Three.js diff --git a/mediagoblin/static/js/thingiview.js/binaryReader.js b/extlib/thingiview.js/binaryReader.js similarity index 100% rename from mediagoblin/static/js/thingiview.js/binaryReader.js rename to extlib/thingiview.js/binaryReader.js diff --git a/mediagoblin/static/js/thingiview.js/plane.js b/extlib/thingiview.js/plane.js similarity index 100% rename from mediagoblin/static/js/thingiview.js/plane.js rename to extlib/thingiview.js/plane.js diff --git a/mediagoblin/static/js/thingiview.js/stats.js b/extlib/thingiview.js/stats.js similarity index 100% rename from mediagoblin/static/js/thingiview.js/stats.js rename to extlib/thingiview.js/stats.js diff --git a/mediagoblin/static/js/thingiview.js/thingiloader.js b/extlib/thingiview.js/thingiloader.js similarity index 100% rename from mediagoblin/static/js/thingiview.js/thingiloader.js rename to extlib/thingiview.js/thingiloader.js diff --git a/mediagoblin/static/js/thingiview.js/thingiview.js b/extlib/thingiview.js/thingiview.js similarity index 100% rename from mediagoblin/static/js/thingiview.js/thingiview.js rename to extlib/thingiview.js/thingiview.js diff --git a/mediagoblin/templates/mediagoblin/media_displays/stl.html b/mediagoblin/templates/mediagoblin/media_displays/stl.html index 7802bab4..043faac8 100644 --- a/mediagoblin/templates/mediagoblin/media_displays/stl.html +++ b/mediagoblin/templates/mediagoblin/media_displays/stl.html @@ -44,9 +44,9 @@ {% if media.media_data.file_type == "stl" %} - - - + + + {% 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();