diff options
author | Valerio Virgillito | 2012-05-29 00:34:40 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-29 00:34:40 -0700 |
commit | 4c3aac5eabd93052b1554a03d78235215bb49db4 (patch) | |
tree | fe08f4f6d33d81d602f56daeaec845577fb9d8a5 /js/document | |
parent | 9a66ccad0235484643ef6d821315b11b5be4a93e (diff) | |
download | ninja-4c3aac5eabd93052b1554a03d78235215bb49db4.tar.gz |
document bindings phase 1
- using array controller to bind the current document to all ninja components
- removed open document event
- removed references to the document controller
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/document')
-rwxr-xr-x | js/document/models/text.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/document/models/text.js b/js/document/models/text.js index d1252b7d..0135b9ba 100755 --- a/js/document/models/text.js +++ b/js/document/models/text.js | |||
@@ -22,7 +22,7 @@ exports.TextDocumentModel = Montage.create(BaseDocumentModel, { | |||
22 | save: { | 22 | save: { |
23 | enumerable: false, | 23 | enumerable: false, |
24 | value: function (callback) { | 24 | value: function (callback) { |
25 | this.application.ninja.documentController.activeDocument.model.views.code.editor.save();//save to textarea | 25 | this.application.ninja.currentDocument.model.views.code.editor.save();//save to textarea |
26 | 26 | ||
27 | var self = this; | 27 | var self = this; |
28 | 28 | ||