aboutsummaryrefslogtreecommitdiff
path: root/js/controllers
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-06-01 15:00:30 -0700
committerNivesh Rajbhandari2012-06-01 15:00:30 -0700
commit4f04bf2dc4e33bfdf3b9d19e04a5dc08704f8e98 (patch)
tree80cfb58dafbcc216222e842f9e562bccac461c64 /js/controllers
parent4dde49e0376e2cb64140f5baa85f5cadae0c9e16 (diff)
parent62ac633975d6c461ec478887e574f6b155511a23 (diff)
downloadninja-4f04bf2dc4e33bfdf3b9d19e04a5dc08704f8e98.tar.gz
Merge branch 'refs/heads/valerio-document-bindings-fix' into document-bindings-fix
Diffstat (limited to 'js/controllers')
-rwxr-xr-xjs/controllers/styles-controller.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/js/controllers/styles-controller.js b/js/controllers/styles-controller.js
index f35a6757..83722184 100755
--- a/js/controllers/styles-controller.js
+++ b/js/controllers/styles-controller.js
@@ -48,25 +48,6 @@ var stylesController = exports.StylesController = Montage.create(Component, {
48 ///// bind the document to prop w/ setter. The setter calls to find 48 ///// bind the document to prop w/ setter. The setter calls to find
49 ///// the stage and default css files. 49 ///// the stage and default css files.
50 50
51 handleAppLoaded : {
52 value: function() {
53 ///// Bind app's currentDocument property to
54 ///// styles controller's _currentDocument property
55
56// Object.defineBinding(this, "currentDocument", {
57// boundObject: this.application.ninja,
58// boundObjectPropertyPath: "currentDocument",
59// oneway: true
60// });
61 }
62 },
63
64 deserializedFromTemplate : {
65 value: function() {
66 this.eventManager.addEventListener( "appLoaded", this, false);
67 },
68 enumerable : false
69 },
70 ///// Active document gets automatically set when the 51 ///// Active document gets automatically set when the
71 ///// document controller changes it 52 ///// document controller changes it
72 _currentDocument : { 53 _currentDocument : {