diff options
author | Ananya Sen | 2012-06-26 16:03:56 -0700 |
---|---|---|
committer | Ananya Sen | 2012-06-26 16:03:56 -0700 |
commit | 3391a8e6fd5df0d464edaffd98c2b3fde23acf5a (patch) | |
tree | bab7b60d4b76094e33e6945e30f4f9f422545eb1 /js/document/views | |
parent | fc9186b7400dcc2b25c264a2f245603b73d2e429 (diff) | |
download | ninja-3391a8e6fd5df0d464edaffd98c2b3fde23acf5a.tar.gz |
refactored to move bindings to template
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/document/views')
-rwxr-xr-x | js/document/views/code.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/document/views/code.js b/js/document/views/code.js index c8b2a23e..5467b0f1 100755 --- a/js/document/views/code.js +++ b/js/document/views/code.js | |||
@@ -114,7 +114,7 @@ exports.CodeDocumentView = Montage.create(BaseDocumentView, { | |||
114 | // | 114 | // |
115 | this.textViewContainer.style.display="block"; | 115 | this.textViewContainer.style.display="block"; |
116 | // | 116 | // |
117 | this.editor = this.application.ninja.codeEditorController.createEditor(this, type, file.extension, textDocument); | 117 | this.editor = this.application.ninja.codeEditorWrapper.createEditor(this, type, file.extension, textDocument); |
118 | this.editor.hline = this.editor.setLineClass(0, "activeline"); | 118 | this.editor.hline = this.editor.setLineClass(0, "activeline"); |
119 | } | 119 | } |
120 | }, | 120 | }, |