diff options
author | Armen Kesablyan | 2012-02-13 13:36:52 -0800 |
---|---|---|
committer | Armen Kesablyan | 2012-02-13 13:36:52 -0800 |
commit | da32190d5dd91fa2c26f8cabb746980c3d06035c (patch) | |
tree | d923299208c84b1071b58e7eb9c0515b2e1c844a /js/ninja.reel | |
parent | 36cefa3526988cb4dfea107fedaa954a2703260d (diff) | |
parent | 90d0c8c0e98d062c628c061fe5765ce991fda409 (diff) | |
download | ninja-da32190d5dd91fa2c26f8cabb746980c3d06035c.tar.gz |
Merge branch 'refs/heads/master' into text-tool
Diffstat (limited to 'js/ninja.reel')
-rw-r--r-- | js/ninja.reel/ninja.html | 15 | ||||
-rw-r--r-- | js/ninja.reel/ninja.js | 3 |
2 files changed, 11 insertions, 7 deletions
diff --git a/js/ninja.reel/ninja.html b/js/ninja.reel/ninja.html index 706c8243..c8625159 100644 --- a/js/ninja.reel/ninja.html +++ b/js/ninja.reel/ninja.html | |||
@@ -259,6 +259,11 @@ | |||
259 | "name": "NewFileWorkflowController" | 259 | "name": "NewFileWorkflowController" |
260 | }, | 260 | }, |
261 | 261 | ||
262 | "mainMenuController": { | ||
263 | "module": "js/controllers/main-menu-controller", | ||
264 | "name": "MainMenuController" | ||
265 | }, | ||
266 | |||
262 | "owner": { | 267 | "owner": { |
263 | "module": "js/ninja.reel", | 268 | "module": "js/ninja.reel", |
264 | "name": "Ninja", | 269 | "name": "Ninja", |
@@ -279,10 +284,11 @@ | |||
279 | "stylesController": {"@": "stylesController"}, | 284 | "stylesController": {"@": "stylesController"}, |
280 | "filePickerController": {"@": "filePickerController"}, | 285 | "filePickerController": {"@": "filePickerController"}, |
281 | "newFileController": {"@": "newFileController"}, | 286 | "newFileController": {"@": "newFileController"}, |
282 | "documentBar": {"@": "documentBar"} | 287 | "documentBar": {"@": "documentBar"}, |
288 | "timeline": {"@": "timeline"}, | ||
289 | "mainMenuController": {"@": "mainMenuController"} | ||
283 | } | 290 | } |
284 | } | 291 | } |
285 | |||
286 | } | 292 | } |
287 | </script> | 293 | </script> |
288 | 294 | ||
@@ -344,13 +350,10 @@ | |||
344 | </section> | 350 | </section> |
345 | 351 | ||
346 | <section id="timelineResizer" class="timelineResizer resizeBar"></section> | 352 | <section id="timelineResizer" class="timelineResizer resizeBar"></section> |
347 | |||
348 | <section id="bottomPanelContainer" class="panelContainer"> | ||
349 | |||
350 | <section id="breadCrumbTrail"> | 353 | <section id="breadCrumbTrail"> |
351 | <div id="breadCrumbComponent"></div> | 354 | <div id="breadCrumbComponent"></div> |
352 | </section> | 355 | </section> |
353 | 356 | <section id="bottomPanelContainer" class="panelContainer"> | |
354 | <section id="timelinePanel" class="panel"> | 357 | <section id="timelinePanel" class="panel"> |
355 | <div id="timelinePanelComponent"></div> | 358 | <div id="timelinePanelComponent"></div> |
356 | </section> | 359 | </section> |
diff --git a/js/ninja.reel/ninja.js b/js/ninja.reel/ninja.js index 90015f5a..469d38f7 100644 --- a/js/ninja.reel/ninja.js +++ b/js/ninja.reel/ninja.js | |||
@@ -14,7 +14,7 @@ exports.Ninja = Montage.create(Component, { | |||
14 | _preload: { value: false }, | 14 | _preload: { value: false }, |
15 | 15 | ||
16 | ninjaVersion: { | 16 | ninjaVersion: { |
17 | value: window.ninjaVersion.ninja.version | 17 | value: null |
18 | }, | 18 | }, |
19 | 19 | ||
20 | toolsData: { value: null }, | 20 | toolsData: { value: null }, |
@@ -34,6 +34,7 @@ exports.Ninja = Montage.create(Component, { | |||
34 | 34 | ||
35 | templateDidLoad: { | 35 | templateDidLoad: { |
36 | value: function() { | 36 | value: function() { |
37 | this.ninjaVersion = window.ninjaVersion.ninja.version; | ||
37 | this.eventManager.addEventListener( "preloadFinish", this, false); | 38 | this.eventManager.addEventListener( "preloadFinish", this, false); |
38 | } | 39 | } |
39 | }, | 40 | }, |