Commit bb7b417c authored by Rurik Bugdanov's avatar Rurik Bugdanov

Revert to getScript() for x3dom-full.debug.js (fix missing info-wrapper after...

Revert to getScript() for x3dom-full.debug.js (fix missing info-wrapper after clearing cache (..) but breaks minification - use 'gulp' instead of 'gulp prod')
parent 0ea88057
...@@ -174,8 +174,7 @@ function light_init(){ ...@@ -174,8 +174,7 @@ function light_init(){
Scene = new X3DOMObject(element,Data,{}); Scene = new X3DOMObject(element,Data,{});
Scene.initResize(); Scene.initResize();
// $.getScript("js/x3dom/x3dom-full.debug.js",function(){ $.getScript("js/x3dom/x3dom-full.debug.js",function(){
Map = new LeafletObject('leaflet_map',Data,{}); Map = new LeafletObject('leaflet_map',Data,{});
//wait until it DOM is extended //wait until it DOM is extended
x3dom.runtime.ready = function(){ x3dom.runtime.ready = function(){
...@@ -188,8 +187,7 @@ function light_init(){ ...@@ -188,8 +187,7 @@ function light_init(){
leaf_events(); leaf_events();
}; };
// }); });
}, },
}); });
......
...@@ -24,9 +24,9 @@ ...@@ -24,9 +24,9 @@
<script type='text/javascript' src='js/leaflet/leaflet.camera-view-marker.js'></script> <script type='text/javascript' src='js/leaflet/leaflet.camera-view-marker.js'></script>
<script type='text/javascript' src='js/leaflet/leaflet.camera-view-marker.measure.js'></script> <script type='text/javascript' src='js/leaflet/leaflet.camera-view-marker.measure.js'></script>
<!---script type='text/javascript' src='js/x3dom/x3dom-full.debug.js'></script-->
<script type='text/javascript' src='js/x3dom_init.js'></script> <script type='text/javascript' src='js/x3dom_init.js'></script>
<script type='text/javascript' src='js/x3dom_functions.js'></script> <script type='text/javascript' src='js/x3dom_functions.js'></script>
<script type='text/javascript' src='js/x3dom/x3dom-full.debug.js'></script>
<script type='text/javascript' src='js/leaflet_init.js'></script> <script type='text/javascript' src='js/leaflet_init.js'></script>
<script type='text/javascript' src='js/x3l.js'></script> <script type='text/javascript' src='js/x3l.js'></script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment