diff options
author | Valerio Virgillito | 2012-02-01 16:43:08 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-01 16:43:08 -0800 |
commit | f07bbfaa60c3fb7c2412c5aa97b49d114d6a88ea (patch) | |
tree | 4cf968a193a1f1f7fb40a220df5075fce53e20a8 /js/ninja.reel/ninja.js | |
parent | 05bba59fc9cb0ce07175e5f0865a319e9dd0ff52 (diff) | |
download | ninja-f07bbfaa60c3fb7c2412c5aa97b49d114d6a88ea.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 | }, |