aboutsummaryrefslogtreecommitdiff
path: root/js/preloader
diff options
context:
space:
mode:
authorEric Guzman2012-02-16 00:22:43 -0800
committerEric Guzman2012-02-16 00:22:43 -0800
commit82b1a273219f0ae3d119e156c7acccdbe478f441 (patch)
tree74c45e5e3afc6706b2f7a7918807f72c54cdcfc5 /js/preloader
parentaf20ca9b11133dd5cefb9275dbe8fb101c3380d0 (diff)
parent966f0adaf1d4b7f2dd5a6e31643df58bff713884 (diff)
downloadninja-82b1a273219f0ae3d119e156c7acccdbe478f441.tar.gz
Merge branch 'refs/heads/TreeComponents' into PresetsPanel
Diffstat (limited to 'js/preloader')
-rwxr-xr-xjs/preloader/Preloader.js16
-rwxr-xr-x[-rw-r--r--]js/preloader/PreloaderWorker.js0
2 files changed, 8 insertions, 8 deletions
diff --git a/js/preloader/Preloader.js b/js/preloader/Preloader.js
index 929e4ef4..13ebbdbd 100755
--- a/js/preloader/Preloader.js
+++ b/js/preloader/Preloader.js
@@ -8,14 +8,14 @@ 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
11exports.Preloader = Montage.create(Component, { 11var codeMirrorPath = "imports/codemirror";
12 12
13exports.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
@@ -81,18 +81,18 @@ exports.Preloader = Montage.create(Component, {
81 {"type":"js", "url":"js/helper-classes/RDGE/precompiled.js"}, 81 {"type":"js", "url":"js/helper-classes/RDGE/precompiled.js"},
82 {"type":"js", "url":"js/helper-classes/RDGE/MaterialsLibrary.js"}, 82 {"type":"js", "url":"js/helper-classes/RDGE/MaterialsLibrary.js"},
83 {"type":"js", "url":"js/helper-classes/3D/glUtils.js"}, 83 {"type":"js", "url":"js/helper-classes/3D/glUtils.js"},
84 {"type":"js", "url":"js/codemirror/mode/htmlmixed/htmlmixed.js"}, 84 {"type":"js", "url": codeMirrorPath + "/lib/codemirror.js"},
85 {"type":"js", "url":"js/codemirror/mode/xml/xml.js"}, 85 {"type":"js", "url": codeMirrorPath + "/mode/htmlmixed/htmlmixed.js"},
86 {"type":"js", "url":"js/codemirror/mode/javascript/javascript.js"}, 86 {"type":"js", "url": codeMirrorPath + "/mode/xml/xml.js"},
87 {"type":"js", "url":"js/codemirror/mode/css/css.js"} 87 {"type":"js", "url": codeMirrorPath + "/mode/javascript/javascript.js"},
88 {"type":"js", "url": codeMirrorPath + "/mode/css/css.js"}
88 ] 89 ]
89 }, 90 },
90 91
91 ninjaCssRequire: { 92 ninjaCssRequire: {
92 value: 93 value:
93 [ 94 [
94 {"type":"css", "url":"js/codemirror/lib/codemirror.css"}, 95 {"type":"css", "url": codeMirrorPath + "/lib/codemirror.css"}
95 {"type":"css", "url":"js/codemirror/theme/default.css"}
96 ] 96 ]
97 }, 97 },
98 98
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