Moving thingiview.js into extlib/

This commit is contained in:
Christopher Allan Webber 2012-12-03 14:57:52 -06:00
parent e7e435342a
commit 78d932e792
8 changed files with 4 additions and 4 deletions

View File

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