diff options
author | Valerio Virgillito | 2012-02-16 22:32:43 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-16 22:32:43 -0800 |
commit | f7887aefa96f33a71189e75197e1bc87252226fb (patch) | |
tree | fad4a6129ac3148f2aad86f86de7650924cd68dd /user-document-templates/montage-application-cloud | |
parent | 0175cb67e426a27a3ecfb7b81317caa383c8a5a5 (diff) | |
download | ninja-f7887aefa96f33a71189e75197e1bc87252226fb.tar.gz |
Fixing the component loading error.
Removing the deserializedFromTemplate which was causing the component not to load.
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'user-document-templates/montage-application-cloud')
-rw-r--r-- | user-document-templates/montage-application-cloud/main.reel/main.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/user-document-templates/montage-application-cloud/main.reel/main.js b/user-document-templates/montage-application-cloud/main.reel/main.js index 0c61b1af..567f481c 100644 --- a/user-document-templates/montage-application-cloud/main.reel/main.js +++ b/user-document-templates/montage-application-cloud/main.reel/main.js | |||
@@ -6,8 +6,6 @@ | |||
6 | var Montage = require("montage/core/core").Montage, | 6 | var Montage = require("montage/core/core").Montage, |
7 | Component = require("montage/ui/component").Component; | 7 | Component = require("montage/ui/component").Component; |
8 | 8 | ||
9 | //var Button = ("montage/ui/button.reel").Button; | ||
10 | |||
11 | exports.Main = Montage.create(Component, { | 9 | exports.Main = Montage.create(Component, { |
12 | 10 | ||
13 | hasTemplate: { | 11 | hasTemplate: { |
@@ -43,7 +41,7 @@ exports.Main = Montage.create(Component, { | |||
43 | var componentInstance = componentRequire.create(); | 41 | var componentInstance = componentRequire.create(); |
44 | 42 | ||
45 | componentInstance.element = element; | 43 | componentInstance.element = element; |
46 | componentInstance.deserializedFromTemplate(); | 44 | //componentInstance.deserializedFromTemplate(); |
47 | componentInstance.needsDraw = true; | 45 | componentInstance.needsDraw = true; |
48 | 46 | ||
49 | callback(componentInstance, element); | 47 | callback(componentInstance, element); |