aboutsummaryrefslogtreecommitdiff
path: root/js/ninja.reel/ninja.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-02-01 16:43:08 -0800
committerValerio Virgillito2012-02-02 15:33:42 -0800
commit7e23cfe542f29148ed315586830785de59201f92 (patch)
tree53679669bf49d460c7ad8825bc17942ada12b895 /js/ninja.reel/ninja.js
parent14923120c4a85ea167653a96bd09eb170c9a4651 (diff)
downloadninja-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.js2
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 },