aboutsummaryrefslogtreecommitdiff
path: root/js/controllers
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/controllers
parenta2f206ee9fe7477bd3343e10c56149d5edf6232a (diff)
parent67aaba2e752ea1964356f487269cafc686abb9a7 (diff)
downloadninja-bc8b0c17023ddea6d77150694a777e104ef99cbc.tar.gz
Merge pull request #138 from joseeight/FileIO-Montage-Components
I/O Fixes
Diffstat (limited to 'js/controllers')
-rwxr-xr-xjs/controllers/document-controller.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/js/controllers/document-controller.js b/js/controllers/document-controller.js
index 539fd13e..d5556fa8 100755
--- a/js/controllers/document-controller.js
+++ b/js/controllers/document-controller.js
@@ -64,10 +64,16 @@ var DocumentController = exports.DocumentController = Montage.create(Component,
64 64
65 this.eventManager.addEventListener("styleSheetDirty", this, false); 65 this.eventManager.addEventListener("styleSheetDirty", this, false);
66 66
67 this.eventManager.addEventListener("addComponentFirstDraw", this, false);
67 } 68 }
68 }, 69 },
69 70
70 71 handleAddComponentFirstDraw: {
72 value: function (e) {
73 //TODO: Add logic to reparse the document for dynamically added styles
74 console.log(e);
75 }
76 },
71 77
72 78
73 79