aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorValerio Virgillito2012-01-31 08:57:57 +0800
committerValerio Virgillito2012-01-30 17:16:45 -0800
commitfc8d63ff3a3e2c32f6f11a92741552774301b761 (patch)
tree5e6161a53c8c8fa5edd87883331752f8973f7da3 /js
parent9425f73ade7908c7cdf2f6247ea18b2bff163613 (diff)
downloadninja-fc8d63ff3a3e2c32f6f11a92741552774301b761.tar.gz
Adding the version to the main Ninja reel component.
Signed-off-by: Valerio Virgillito <rmwh84@motorola.com>
Diffstat (limited to 'js')
-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