aboutsummaryrefslogtreecommitdiff
path: root/js/document/templates/montage-html/main.reel/main.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-03-23 13:29:08 -0700
committerValerio Virgillito2012-03-23 13:29:08 -0700
commitbc8b0c17023ddea6d77150694a777e104ef99cbc (patch)
tree1524c53d027d1f2f8cbb759f61e4d73b52b00481 /js/document/templates/montage-html/main.reel/main.js
parenta2f206ee9fe7477bd3343e10c56149d5edf6232a (diff)
parent67aaba2e752ea1964356f487269cafc686abb9a7 (diff)
downloadninja-bc8b0c17023ddea6d77150694a777e104ef99cbc.tar.gz
Merge pull request #138 from joseeight/FileIO-Montage-Components
I/O Fixes
Diffstat (limited to 'js/document/templates/montage-html/main.reel/main.js')
-rw-r--r--js/document/templates/montage-html/main.reel/main.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/js/document/templates/montage-html/main.reel/main.js b/js/document/templates/montage-html/main.reel/main.js
index 2970f37a..019c675e 100644
--- a/js/document/templates/montage-html/main.reel/main.js
+++ b/js/document/templates/montage-html/main.reel/main.js
@@ -31,8 +31,6 @@ exports.Main = Montage.create(Component, {
31 componentInstance.needsDraw = true; 31 componentInstance.needsDraw = true;
32 componentInstance.ownerComponent = self; 32 componentInstance.ownerComponent = self;
33 33
34 componentInstance.addEventListener("firstDraw", self, false);
35
36 callback(componentInstance, element); 34 callback(componentInstance, element);
37 }) 35 })
38 .end(); 36 .end();
@@ -46,14 +44,5 @@ exports.Main = Montage.create(Component, {
46 document.body.dispatchEvent( newEvent ); 44 document.body.dispatchEvent( newEvent );
47 45
48 } 46 }
49 },
50
51 handleFirstDraw: {
52 value: function() {
53 var newEvent = document.createEvent( "CustomEvent" );
54 newEvent.initCustomEvent( "addComponentFirstDraw", false, true );
55
56 document.body.dispatchEvent( newEvent );
57 }
58 } 47 }
59}); \ No newline at end of file 48}); \ No newline at end of file