From f7887aefa96f33a71189e75197e1bc87252226fb Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Thu, 16 Feb 2012 22:32:43 -0800 Subject: Fixing the component loading error. Removing the deserializedFromTemplate which was causing the component not to load. Signed-off-by: Valerio Virgillito --- user-document-templates/montage-application-cloud/main.reel/main.js | 4 +--- 1 file changed, 1 insertion(+), 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 @@ var Montage = require("montage/core/core").Montage, Component = require("montage/ui/component").Component; -//var Button = ("montage/ui/button.reel").Button; - exports.Main = Montage.create(Component, { hasTemplate: { @@ -43,7 +41,7 @@ exports.Main = Montage.create(Component, { var componentInstance = componentRequire.create(); componentInstance.element = element; - componentInstance.deserializedFromTemplate(); + //componentInstance.deserializedFromTemplate(); componentInstance.needsDraw = true; callback(componentInstance, element); -- cgit v1.2.3