diff options
Diffstat (limited to 'js/preloader')
-rwxr-xr-x | js/preloader/Preloader.js | 37 | ||||
-rwxr-xr-x[-rw-r--r--] | js/preloader/PreloaderWorker.js | 0 |
2 files changed, 23 insertions, 14 deletions
diff --git a/js/preloader/Preloader.js b/js/preloader/Preloader.js index d735af0b..21d7fcee 100755 --- a/js/preloader/Preloader.js +++ b/js/preloader/Preloader.js | |||
@@ -8,19 +8,19 @@ var Montage = require("montage/core/core").Montage, | |||
8 | Component = require("montage/ui/component").Component, | 8 | Component = require("montage/ui/component").Component, |
9 | defaultEventManager = require("montage/core/event/event-manager").defaultEventManager; | 9 | defaultEventManager = require("montage/core/event/event-manager").defaultEventManager; |
10 | 10 | ||
11 | exports.Preloader = Montage.create(Component, { | 11 | var codeMirrorPath = "imports/codemirror"; |
12 | 12 | ||
13 | exports.Preloader = Montage.create(Component, { | ||
13 | 14 | ||
14 | ninjaJsRequire: { | 15 | ninjaJsRequire: { |
15 | value: | 16 | value: |
16 | [ | 17 | [ |
17 | {"type":"js", "url":"js/helper-classes/3D/GLMatrix/gl-matrix.js"}, | 18 | {"type":"js", "url":"js/helper-classes/3D/GLMatrix/gl-matrix.js"}, |
18 | {"type":"js", "url":"js/codemirror/lib/codemirror.js"}, | ||
19 | 19 | ||
20 | //{"type":"js", "url":"js/helper-classes/RDGE/rdge-compiled.js"}, | 20 | {"type":"js", "url":"js/helper-classes/RDGE/rdge-compiled.js"}, |
21 | 21 | ||
22 | // source RDGE | 22 | // source RDGE |
23 | /* */ | 23 | /* |
24 | {"type":"js", "url":"js/helper-classes/RDGE/src/core/script/math/vec2.js"}, | 24 | {"type":"js", "url":"js/helper-classes/RDGE/src/core/script/math/vec2.js"}, |
25 | {"type":"js", "url":"js/helper-classes/RDGE/src/core/script/math/vec3.js"}, | 25 | {"type":"js", "url":"js/helper-classes/RDGE/src/core/script/math/vec3.js"}, |
26 | {"type":"js", "url":"js/helper-classes/RDGE/src/core/script/math/vec4.js"}, | 26 | {"type":"js", "url":"js/helper-classes/RDGE/src/core/script/math/vec4.js"}, |
@@ -58,27 +58,36 @@ exports.Preloader = Montage.create(Component, { | |||
58 | {"type":"js", "url":"js/helper-classes/RDGE/src/core/script/init_state.js"}, | 58 | {"type":"js", "url":"js/helper-classes/RDGE/src/core/script/init_state.js"}, |
59 | {"type":"js", "url":"js/helper-classes/RDGE/src/core/script/runtime.js"}, | 59 | {"type":"js", "url":"js/helper-classes/RDGE/src/core/script/runtime.js"}, |
60 | {"type":"js", "url":"js/helper-classes/RDGE/src/core/script/util/dbgpanel.js"}, | 60 | {"type":"js", "url":"js/helper-classes/RDGE/src/core/script/util/dbgpanel.js"}, |
61 | /* */ | 61 | */ |
62 | 62 | ||
63 | {"type":"js", "url":"js/helper-classes/3D/ParseUtils.js"}, | 63 | {"type":"js", "url":"js/helper-classes/3D/ParseUtils.js"}, |
64 | {"type":"js", "url":"js/helper-classes/RDGE/GLLine.js"}, | 64 | {"type":"js", "url":"js/helper-classes/RDGE/GLLine.js"}, |
65 | {"type":"js", "url":"js/helper-classes/RDGE/GLMaterial.js"}, | 65 | {"type":"js", "url":"js/helper-classes/RDGE/GLMaterial.js"}, |
66 | {"type":"js", "url":"js/helper-classes/RDGE/GLLight.js"}, | 66 | {"type":"js", "url":"js/helper-classes/RDGE/GLLight.js"}, |
67 | |||
67 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/FlatMaterial.js"}, | 68 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/FlatMaterial.js"}, |
69 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/TaperMaterial.js"}, | ||
70 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/TwistVertMaterial.js"}, | ||
68 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/UberMaterial.js"}, | 71 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/UberMaterial.js"}, |
69 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/PlasmaMaterial.js"}, | 72 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/PlasmaMaterial.js"}, |
73 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/LinearGradientMaterial.js"}, | ||
70 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/RadialGradientMaterial.js"}, | 74 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/RadialGradientMaterial.js"}, |
71 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/RadialBlurMaterial.js"}, | 75 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/RadialBlurMaterial.js"}, |
72 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/PulseMaterial.js"}, | 76 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/PulseMaterial.js"}, |
73 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/TunnelMaterial.js"}, | 77 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/TunnelMaterial.js"}, |
78 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/ReliefTunnelMaterial.js"}, | ||
79 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/SquareTunnelMaterial.js"}, | ||
80 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/FlyMaterial.js"}, | ||
81 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/WaterMaterial.js"}, | ||
82 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/ZInvertMaterial.js"}, | ||
83 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/DeformMaterial.js"}, | ||
84 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/StarMaterial.js"}, | ||
74 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/TwistMaterial.js"}, | 85 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/TwistMaterial.js"}, |
75 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/KeleidoscopeMaterial.js"}, | 86 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/KeleidoscopeMaterial.js"}, |
76 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/JuliaMaterial.js"}, | 87 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/JuliaMaterial.js"}, |
77 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/MandelMaterial.js"}, | 88 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/MandelMaterial.js"}, |
78 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/IridescentScalesMaterial.js"}, | ||
79 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/PlasmaMaterial.js"}, | ||
80 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/LinearGradientMaterial.js"}, | ||
81 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/BumpMetalMaterial.js"}, | 89 | {"type":"js", "url":"js/helper-classes/RDGE/Materials/BumpMetalMaterial.js"}, |
90 | |||
82 | {"type":"js", "url":"js/helper-classes/RDGE/GLWorld.js"}, | 91 | {"type":"js", "url":"js/helper-classes/RDGE/GLWorld.js"}, |
83 | {"type":"js", "url":"js/helper-classes/RDGE/GLGeomObj.js"}, | 92 | {"type":"js", "url":"js/helper-classes/RDGE/GLGeomObj.js"}, |
84 | {"type":"js", "url":"js/helper-classes/RDGE/GLCircle.js"}, | 93 | {"type":"js", "url":"js/helper-classes/RDGE/GLCircle.js"}, |
@@ -91,18 +100,18 @@ exports.Preloader = Montage.create(Component, { | |||
91 | {"type":"js", "url":"js/helper-classes/RDGE/precompiled.js"}, | 100 | {"type":"js", "url":"js/helper-classes/RDGE/precompiled.js"}, |
92 | {"type":"js", "url":"js/helper-classes/RDGE/MaterialsLibrary.js"}, | 101 | {"type":"js", "url":"js/helper-classes/RDGE/MaterialsLibrary.js"}, |
93 | {"type":"js", "url":"js/helper-classes/3D/glUtils.js"}, | 102 | {"type":"js", "url":"js/helper-classes/3D/glUtils.js"}, |
94 | {"type":"js", "url":"js/codemirror/mode/htmlmixed/htmlmixed.js"}, | 103 | {"type":"js", "url": codeMirrorPath + "/lib/codemirror.js"}, |
95 | {"type":"js", "url":"js/codemirror/mode/xml/xml.js"}, | 104 | {"type":"js", "url": codeMirrorPath + "/mode/htmlmixed/htmlmixed.js"}, |
96 | {"type":"js", "url":"js/codemirror/mode/javascript/javascript.js"}, | 105 | {"type":"js", "url": codeMirrorPath + "/mode/xml/xml.js"}, |
97 | {"type":"js", "url":"js/codemirror/mode/css/css.js"} | 106 | {"type":"js", "url": codeMirrorPath + "/mode/javascript/javascript.js"}, |
107 | {"type":"js", "url": codeMirrorPath + "/mode/css/css.js"} | ||
98 | ] | 108 | ] |
99 | }, | 109 | }, |
100 | 110 | ||
101 | ninjaCssRequire: { | 111 | ninjaCssRequire: { |
102 | value: | 112 | value: |
103 | [ | 113 | [ |
104 | {"type":"css", "url":"js/codemirror/lib/codemirror.css"}, | 114 | {"type":"css", "url": codeMirrorPath + "/lib/codemirror.css"} |
105 | {"type":"css", "url":"js/codemirror/theme/default.css"} | ||
106 | ] | 115 | ] |
107 | }, | 116 | }, |
108 | 117 | ||
diff --git a/js/preloader/PreloaderWorker.js b/js/preloader/PreloaderWorker.js index 1b5b58ed..1b5b58ed 100644..100755 --- a/js/preloader/PreloaderWorker.js +++ b/js/preloader/PreloaderWorker.js | |||