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/controllers/document-controller.js | |
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/controllers/document-controller.js')
-rwxr-xr-x | js/controllers/document-controller.js | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/js/controllers/document-controller.js b/js/controllers/document-controller.js index fba9fad5..1e894f02 100755 --- a/js/controllers/document-controller.js +++ b/js/controllers/document-controller.js | |||
@@ -76,24 +76,13 @@ var DocumentController = exports.DocumentController = Montage.create(Component, | |||
76 | 76 | ||
77 | this.eventManager.addEventListener("styleSheetDirty", this, false); | 77 | this.eventManager.addEventListener("styleSheetDirty", this, false); |
78 | 78 | ||
79 | this.eventManager.addEventListener("addComponentFirstDraw", this, false); | ||
80 | |||
81 | // Temporary add listeners for the new stage templates | 79 | // Temporary add listeners for the new stage templates |
82 | this.eventManager.addEventListener("executeWebpageOpen", this, false); | 80 | this.eventManager.addEventListener("executeWebpageOpen", this, false); |
83 | this.eventManager.addEventListener("executeNewWebpage", this, false); | 81 | this.eventManager.addEventListener("executeNewWebpage", this, false); |
84 | } | 82 | } |
85 | }, | 83 | }, |
86 | 84 | ||
87 | handleAddComponentFirstDraw: { | 85 | |
88 | value: function (e) { | ||
89 | //TODO: Add logic to reparse the document for dynamically added styles | ||
90 | //console.log(e); | ||
91 | } | ||
92 | }, | ||
93 | |||
94 | |||
95 | |||
96 | |||
97 | //TODO: Ensure these APIs are not needed | 86 | //TODO: Ensure these APIs are not needed |
98 | //////////////////////////////////////////////////////////////////// | 87 | //////////////////////////////////////////////////////////////////// |
99 | // | 88 | // |