diff options
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); |