diff options
Diffstat (limited to 'js/controllers/styles-controller.js')
-rwxr-xr-x | js/controllers/styles-controller.js | 19 |
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 : { |