diff options
author | Valerio Virgillito | 2012-03-06 10:58:25 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-03-06 10:58:25 -0800 |
commit | 84332ab81c1b445195f1d9be8bbeae0725c8e758 (patch) | |
tree | e322baa1f98d4507ec255279198fa2284b2dff3c | |
parent | 13f52cf0c74f53a919fa864f86669e8155f82961 (diff) | |
download | ninja-84332ab81c1b445195f1d9be8bbeae0725c8e758.tar.gz |
Squashed commit of preload-fix into Master
- Requiring all the previously pre-loaded files
- RDGE, Codemirror and gl-matrix are not included via a script tag.
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
96 files changed, 11182 insertions, 259 deletions
@@ -18,8 +18,9 @@ | |||
18 | <meta http-equiv="Expires" content="0" /> | 18 | <meta http-equiv="Expires" content="0" /> |
19 | 19 | ||
20 | <link rel="icon" href="images/favicon.png" sizes="16x16"> | 20 | <link rel="icon" href="images/favicon.png" sizes="16x16"> |
21 | 21 | ||
22 | <link href='http://fonts.googleapis.com/css?family=Droid+Sans:400,700|Droid+Sans+Mono' rel='stylesheet' type='text/css'> | 22 | <link href='http://fonts.googleapis.com/css?family=Droid+Sans:400,700|Droid+Sans+Mono' rel='stylesheet' type='text/css'> |
23 | <link href="imports/codemirror/lib/codemirror.css" rel="stylesheet" type="text/css"/> | ||
23 | 24 | ||
24 | <style type="text/css"> | 25 | <style type="text/css"> |
25 | html, body | 26 | html, body |
@@ -174,6 +175,15 @@ | |||
174 | }; | 175 | }; |
175 | </script> | 176 | </script> |
176 | 177 | ||
178 | <script type="text/javascript" src="js/helper-classes/3D/GLMatrix/gl-matrix.js"></script> | ||
179 | <script type="text/javascript" src="js/helper-classes/RDGE/rdge-compiled.js"></script> | ||
180 | |||
181 | <script type="text/javascript" src="imports/codemirror/lib/codemirror.js"></script> | ||
182 | <script type="text/javascript" src="imports/codemirror/mode/htmlmixed/htmlmixed.js"></script> | ||
183 | <script type="text/javascript" src="imports/codemirror/mode/xml/xml.js"></script> | ||
184 | <script type="text/javascript" src="imports/codemirror/mode/javascript/javascript.js"></script> | ||
185 | <script type="text/javascript" src="imports/codemirror/mode/css/css.js"></script> | ||
186 | |||
177 | <script type="text/javascript" src="node_modules/montage/montage.js"></script> | 187 | <script type="text/javascript" src="node_modules/montage/montage.js"></script> |
178 | 188 | ||
179 | <script type="text/montage-serialization"> | 189 | <script type="text/montage-serialization"> |
@@ -184,7 +194,7 @@ | |||
184 | "properties": { | 194 | "properties": { |
185 | "mainModule": "js/ninja.reel", | 195 | "mainModule": "js/ninja.reel", |
186 | "mainName": "Ninja", | 196 | "mainName": "Ninja", |
187 | "minimumBootstrappingDuration": 4000 | 197 | "minimumBootstrappingDuration": 3000 |
188 | } | 198 | } |
189 | } | 199 | } |
190 | } | 200 | } |
diff --git a/js/controllers/elements/shapes-controller.js b/js/controllers/elements/shapes-controller.js index 749a1dd9..3423a5a7 100755 --- a/js/controllers/elements/shapes-controller.js +++ b/js/controllers/elements/shapes-controller.js | |||
@@ -8,6 +8,9 @@ var Montage = require("montage/core/core").Montage, | |||
8 | CanvasController = require("js/controllers/elements/canvas-controller").CanvasController, | 8 | CanvasController = require("js/controllers/elements/canvas-controller").CanvasController, |
9 | njModule = require("js/lib/NJUtils"); | 9 | njModule = require("js/lib/NJUtils"); |
10 | 10 | ||
11 | var World = require("js/lib/drawing/world").World; | ||
12 | var MaterialsModel = require("js/models/materials-model").MaterialsModel; | ||
13 | |||
11 | exports.ShapesController = Montage.create(CanvasControll |