diff options
author | Valerio Virgillito | 2012-02-01 16:43:08 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-02 15:33:42 -0800 |
commit | 7e23cfe542f29148ed315586830785de59201f92 (patch) | |
tree | 53679669bf49d460c7ad8825bc17942ada12b895 /js/ninja.reel/ninja.js | |
parent | 14923120c4a85ea167653a96bd09eb170c9a4651 (diff) | |
download | ninja-7e23cfe542f29148ed315586830785de59201f92.tar.gz |
Adding njUtils as a component and adding it to the application object
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/ninja.reel/ninja.js')
-rw-r--r-- | js/ninja.reel/ninja.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/ninja.reel/ninja.js b/js/ninja.reel/ninja.js index 465533cd..7115b228 100644 --- a/js/ninja.reel/ninja.js +++ b/js/ninja.reel/ninja.js | |||
@@ -34,6 +34,8 @@ exports.Ninja = Montage.create(Component, { | |||
34 | 34 | ||
35 | templateDidLoad: { | 35 | templateDidLoad: { |
36 | value: function() { | 36 | value: function() { |
37 | this.application.njutils = this.njUtils; | ||
38 | |||
37 | this.eventManager.addEventListener( "preloadFinish", this, false); | 39 | this.eventManager.addEventListener( "preloadFinish", this, false); |
38 | } | 40 | } |
39 | }, | 41 | }, |