aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValerio Virgillito2012-01-31 08:57:57 +0800
committerValerio Virgillito2012-01-31 09:14:29 +0800
commitdf018322f823392fd7da56a42cddcab5473b0f0a (patch)
tree516ef19bdefa69442cf7fc4f0c5a3e8468513235
parenta4fcd3237432a361e9a07c7fe3d75128e6c99d1c (diff)
downloadninja-df018322f823392fd7da56a42cddcab5473b0f0a.tar.gz
Adding the version to the main Ninja reel component.
Signed-off-by: Valerio Virgillito <rmwh84@motorola.com>
-rw-r--r--js/ninja.reel/ninja.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/js/ninja.reel/ninja.js b/js/ninja.reel/ninja.js
index 75ec7fcc..465533cd 100644
--- a/js/ninja.reel/ninja.js
+++ b/js/ninja.reel/ninja.js
@@ -13,6 +13,10 @@ exports.Ninja = Montage.create(Component, {
13 _appLoaded: { value: false }, 13 _appLoaded: { value: false },
14 _preload: { value: false }, 14 _preload: { value: false },
15 15
16 ninjaVersion: {
17 value: window.ninjaVersion.ninja.version
18 },
19
16 toolsData: { value: null }, 20 toolsData: { value: null },
17 appData: { value: AppData }, 21 appData: { value: AppData },
18 22
@@ -36,7 +40,7 @@ exports.Ninja = Montage.create(Component, {
36 40
37 prepareForDraw: { 41 prepareForDraw: {
38 value: function() { 42 value: function() {
39 console.log("Loading Ninja --> ", window.ninjaVersion.ninja.version); 43 console.log("Loading Ninja --> ", this.ninjaVersion);
40 44
41 this.application.ninja = this; 45 this.application.ninja = this;
42 46