A lot of cleaning, and compilation of the js code

This commit is contained in:
Thomas FORGIONE
2015-05-22 16:59:33 +02:00
parent fe34290802
commit a6a6c3521c
45 changed files with 100 additions and 41 deletions

View File

@@ -1,9 +1,11 @@
extends ../../../views/withjs
extends ../../../views/main
block title
title #{title} - Bouncing cube
block extrajs
script(src="/static/js/bouncing/BouncingMain.js")
script(src="/static/js/three.min.js")
script(src="/static/js/threetools.min.js")
script(src="/static/js/bouncing.min.js")
block content
h2 Bouncing cube

View File

@@ -1,10 +1,12 @@
extends ../../../views/withjs
extends ../../../views/main.jade
block title
title #{title} - Multi-sphere
block extrajs
script(src="/static/js/multisphere/MultiSphere.js")
script(src="/static/js/three.min.js")
script(src="/static/js/threetools.min.js")
script(src="/static/js/multisphere.min.js")
block content
h2 Multiresolution sphere

View File

@@ -4,17 +4,7 @@ block title
title #{title} - Prototype
block extrajs
script(src="/static/js/prototype/ArrowCamera.js")
script(src="/static/js/prototype/FixedCamera.js")
script(src="/static/js/prototype/OldFixedCamera.js")
script(src="/static/js/prototype/ReverseCamera.js")
script(src="/static/js/prototype/initScene.js")
script(src="/static/js/prototype/raycasterTools.js")
script(src="/static/js/prototype/Previewer.js")
script(src="/static/js/prototype/ButtonManager.js")
script(src="/static/js/prototype/Coin.js")
script(src="/static/js/Logger.js")
script(src="/static/js/prototypetools.min.js")
block configjs
block mainjs
script document.getElementById('music').volume = 0.5;

View File

@@ -4,7 +4,7 @@ block title
title #{title} - Prototype
block mainjs
script(src="/static/js/prototype/main.js")
script(src="/static/js/prototypeinteractive.min.js")
block description
#instructions.panel.panel-default

View File

@@ -6,7 +6,6 @@ block title
block configjs
script RecommendedCamera = FixedCamera;
script var params = params || {}; params.get = params.get || {}; params.get.id = #{id};
script(src="/static/js/ReplayCamera.js")
block mainjs
script(src="/static/js/prototype/replay.js")
script(src="/static/js/replay.min.js")

View File

@@ -1,11 +1,13 @@
extends ../../../views/withjs
extends ../../../views/main
block title
title #{title} - Streaming simulator
block extrajs
script params = {}; params.get= {}; params.get.res = #{resolution}
script(src="/static/js/stream/main.js")
script(src="/static/js/three.min.js")
script(src="/static/js/threetools.min.js")
script(src="/static/js/streamingsimulator.min.js")
block content
h2 Streaming simulator