diff options
author | Nivesh Rajbhandari | 2012-05-16 14:37:10 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-05-16 14:37:10 -0700 |
commit | ffea71abfac12d99b106b5c250ec77d5f14ff88e (patch) | |
tree | e296a8b7417875569fadf98e1d273cbe17b32f14 /js/panels | |
parent | 96c92ab93bdb6eb2dd42ef275b84d83aef8254bf (diff) | |
parent | 99f16ae08fbb0a6dfe6008c9833f2253b18c19e5 (diff) | |
download | ninja-ffea71abfac12d99b106b5c250ec77d5f14ff88e.tar.gz |
Merge branch 'refs/heads/dom-architecture-master' into Dom-Architecture
Diffstat (limited to 'js/panels')
-rwxr-xr-x | js/panels/components-panel.reel/components-panel.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/js/panels/components-panel.reel/components-panel.js b/js/panels/components-panel.reel/components-panel.js index 53049cad..37fd9b44 100755 --- a/js/panels/components-panel.reel/components-panel.js +++ b/js/panels/components-panel.reel/components-panel.js | |||
@@ -295,8 +295,6 @@ exports.ComponentsPanel = Montage.create(Component, { | |||
295 | } | 295 | } |
296 | } | 296 | } |
297 | 297 | ||
298 | instance.addEventListener('firstDraw', that, false); | ||
299 | |||
300 | that.application.ninja.currentDocument.model.setComponentInstance(instance, element); | 298 | that.application.ninja.currentDocument.model.setComponentInstance(instance, element); |
301 | 299 | ||
302 | that.application.ninja.elementMediator.addElements(element, styles); | 300 | that.application.ninja.elementMediator.addElements(element, styles); |
@@ -304,12 +302,6 @@ exports.ComponentsPanel = Montage.create(Component, { | |||
304 | 302 | ||
305 | } | 303 | } |
306 | }, | 304 | }, |
307 | |||
308 | handleFirstDraw: { | ||
309 | value: function (e) { | ||
310 | NJevent("addComponentFirstDraw"); | ||
311 | } | ||
312 | }, | ||
313 | 305 | ||
314 | makeComponent: { | 306 | makeComponent: { |
315 | value: function(name) { | 307 | value: function(name) { |