aboutsummaryrefslogtreecommitdiff
path: root/js/document
diff options
context:
space:
mode:
authorAnanya Sen2012-06-26 16:03:56 -0700
committerAnanya Sen2012-06-26 16:03:56 -0700
commit3391a8e6fd5df0d464edaffd98c2b3fde23acf5a (patch)
treebab7b60d4b76094e33e6945e30f4f9f422545eb1 /js/document
parentfc9186b7400dcc2b25c264a2f245603b73d2e429 (diff)
downloadninja-3391a8e6fd5df0d464edaffd98c2b3fde23acf5a.tar.gz
refactored to move bindings to template
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/document')
-rwxr-xr-xjs/document/views/code.js2
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 },