aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorValerio Virgillito2012-01-31 08:57:57 +0800
committerNivesh Rajbhandari2012-01-31 10:10:15 -0800
commit43d53af9cade33cff20601dfbce8a16d7212fe20 (patch)
tree48f1b7d167c972985478fc992fbc397f37e68a93 /js
parentb9881840e83acbc2d816a9ede66f7fc2d3c3de59 (diff)
downloadninja-43d53af9cade33cff20601dfbce8a16d7212fe20.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