diff options
author | Nivesh Rajbhandari | 2012-03-24 13:53:34 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-03-24 13:53:34 -0700 |
commit | 5e8faa47e1b2507a09d04fea4325006e5eab2f25 (patch) | |
tree | 56683c1be0485f560ff49e8125f0b19dd42199f3 /js/document/templates | |
parent | 2946d01666ff81f913bd06d1ac1381ed42b4a010 (diff) | |
parent | 7ee75fef18c21275cf29740a6fdd81ea90e41f45 (diff) | |
download | ninja-5e8faa47e1b2507a09d04fea4325006e5eab2f25.tar.gz |
Merge branch 'refs/heads/montage-integration' into WebGL-Animation-CheckBox
Diffstat (limited to 'js/document/templates')
-rw-r--r-- | js/document/templates/montage-html/main.reel/main.js | 11 |
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 |