aboutsummaryrefslogtreecommitdiff
path: root/js/panels
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-05-16 14:22:49 -0700
committerJose Antonio Marquez2012-05-16 14:22:49 -0700
commite3368b4fa06be7859315f246494973cba10804c2 (patch)
treecd966d90ed27596c351067099b6cdde9595cf1ae /js/panels
parentac750fd9b9c311dcd48c6ee309607edc6fa048e1 (diff)
parent99f16ae08fbb0a6dfe6008c9833f2253b18c19e5 (diff)
downloadninja-e3368b4fa06be7859315f246494973cba10804c2.tar.gz
Merge branch 'refs/heads/Ninja-DOM-Architecture' into Document
Diffstat (limited to 'js/panels')
-rwxr-xr-xjs/panels/components-panel.reel/components-panel.js8
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 fdf744d2..e028d1db 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) {