diff options
author | Ananya Sen | 2012-07-23 16:59:56 -0700 |
---|---|---|
committer | Ananya Sen | 2012-07-23 16:59:56 -0700 |
commit | c07a7a9d11bc8299fa9686544b18840cc8e640c2 (patch) | |
tree | 274641ea13f5fba5c464fbcef2d49a7bc632071f /js/code-editor/code-editor-wrapper.js | |
parent | d799a03a52fbf4eaad4e469fabbf84c9bf2cb41d (diff) | |
download | ninja-c07a7a9d11bc8299fa9686544b18840cc8e640c2.tar.gz |
show design code editor - first cut
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/code-editor/code-editor-wrapper.js')
-rw-r--r-- | js/code-editor/code-editor-wrapper.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/js/code-editor/code-editor-wrapper.js b/js/code-editor/code-editor-wrapper.js index 57fe4d3a..65f42db2 100644 --- a/js/code-editor/code-editor-wrapper.js +++ b/js/code-editor/code-editor-wrapper.js | |||
@@ -131,6 +131,12 @@ exports.CodeEditorWrapper = Montage.create(Component, { | |||
131 | this.application.ninja.editorViewOptions.codeEditorWrapper = this; | 131 | this.application.ninja.editorViewOptions.codeEditorWrapper = this; |
132 | } | 132 | } |
133 | 133 | ||
134 | //TODO:add codeEditorWrapper | ||
135 | if(!this.application.ninja.documentBar.codeEditorWrapper){ | ||
136 | this.application.ninja.documentBar.codeEditorWrapper = this; | ||
137 | } | ||
138 | |||
139 | |||
134 | editorOptions = { | 140 | editorOptions = { |
135 | lineNumbers: true, | 141 | lineNumbers: true, |
136 | matchBrackets:true, | 142 | matchBrackets:true, |