diff options
author | Valerio Virgillito | 2012-02-01 23:54:24 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-01 23:54:24 -0800 |
commit | dbe9c7705860fb3551321e23e7eab763f622241c (patch) | |
tree | 78ae78af04ad55bceab6ba01369e5b0d55f60fa8 /js/ninja.reel | |
parent | 1159924ecae4e7d371d40cee00e0e56d1605ffda (diff) | |
download | ninja-dbe9c7705860fb3551321e23e7eab763f622241c.tar.gz |
Revert "Adding njUtils as a component and adding it to the application object"
This reverts commit f07bbfaa60c3fb7c2412c5aa97b49d114d6a88ea.
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/ninja.reel')
-rw-r--r-- | js/ninja.reel/ninja.html | 8 | ||||
-rw-r--r-- | js/ninja.reel/ninja.js | 2 |
2 files changed, 1 insertions, 9 deletions
diff --git a/js/ninja.reel/ninja.html b/js/ninja.reel/ninja.html index f3ff3d58..706c8243 100644 --- a/js/ninja.reel/ninja.html +++ b/js/ninja.reel/ninja.html | |||
@@ -259,11 +259,6 @@ | |||
259 | "name": "NewFileWorkflowController" | 259 | "name": "NewFileWorkflowController" |
260 | }, | 260 | }, |
261 | 261 | ||
262 | "njUtils": { | ||
263 | "module":"js/lib/nj-utils", | ||
264 | "name": "NJUtils" | ||
265 | }, | ||
266 | |||
267 | "owner": { | 262 | "owner": { |
268 | "module": "js/ninja.reel", | 263 | "module": "js/ninja.reel", |
269 | "name": "Ninja", | 264 | "name": "Ninja", |
@@ -284,8 +279,7 @@ | |||
284 | "stylesController": {"@": "stylesController"}, | 279 | "stylesController": {"@": "stylesController"}, |
285 | "filePickerController": {"@": "filePickerController"}, | 280 | "filePickerController": {"@": "filePickerController"}, |
286 | "newFileController": {"@": "newFileController"}, | 281 | "newFileController": {"@": "newFileController"}, |
287 | "documentBar": {"@": "documentBar"}, | 282 | "documentBar": {"@": "documentBar"} |
288 | "njUtils": {"@": "njUtils"} | ||
289 | } | 283 | } |
290 | } | 284 | } |
291 | 285 | ||
diff --git a/js/ninja.reel/ninja.js b/js/ninja.reel/ninja.js index 48c72a1d..90015f5a 100644 --- a/js/ninja.reel/ninja.js +++ b/js/ninja.reel/ninja.js | |||
@@ -34,8 +34,6 @@ exports.Ninja = Montage.create(Component, { | |||
34 | 34 | ||
35 | templateDidLoad: { | 35 | templateDidLoad: { |
36 | value: function() { | 36 | value: function() { |
37 | this.application.njutils = this.njUtils; | ||
38 | |||
39 | this.eventManager.addEventListener( "preloadFinish", this, false); | 37 | this.eventManager.addEventListener( "preloadFinish", this, false); |
40 | } | 38 | } |
41 | }, | 39 | }, |