diff options
author | Valerio Virgillito | 2012-01-31 08:57:57 +0800 |
---|---|---|
committer | Valerio Virgillito | 2012-01-30 17:26:00 -0800 |
commit | 98bd02216abf6d550fbb4ed01658c0f273fc9dc5 (patch) | |
tree | 516ef19bdefa69442cf7fc4f0c5a3e8468513235 /js | |
parent | 36e7379c7c282fc3e1b5b86b0b0ed59be60c4253 (diff) | |
download | ninja-98bd02216abf6d550fbb4ed01658c0f273fc9dc5.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.js | 6 |
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 | ||