aboutsummaryrefslogtreecommitdiff
path: root/user-document-templates/montage-application-cloud
diff options
context:
space:
mode:
authorValerio Virgillito2012-02-16 22:32:43 -0800
committerValerio Virgillito2012-02-16 22:32:43 -0800
commitf7887aefa96f33a71189e75197e1bc87252226fb (patch)
treefad4a6129ac3148f2aad86f86de7650924cd68dd /user-document-templates/montage-application-cloud
parent0175cb67e426a27a3ecfb7b81317caa383c8a5a5 (diff)
downloadninja-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.js4
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 @@
6var Montage = require("montage/core/core").Montage, 6var 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
11exports.Main = Montage.create(Component, { 9exports.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);