diff options
author | Valerio Virgillito | 2012-05-31 00:31:22 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-31 00:31:22 -0700 |
commit | f51718fc39f1311a13cc6c998eb63160dc25218d (patch) | |
tree | 949a0f46a807e0522e8a5dc0f1f2c2a7893e1591 /js | |
parent | 66632a6e0de0998ff6d36abdaa8c3a546eada0f5 (diff) | |
download | ninja-f51718fc39f1311a13cc6c998eb63160dc25218d.tar.gz |
cleanup items
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js')
-rw-r--r-- | js/controllers/code-editor-controller.js | 1 | ||||
-rwxr-xr-x | js/document/views/design.js | 5 |
2 files changed, 1 insertions, 5 deletions
diff --git a/js/controllers/code-editor-controller.js b/js/controllers/code-editor-controller.js index d0b1f179..d292f838 100644 --- a/js/controllers/code-editor-controller.js +++ b/js/controllers/code-editor-controller.js | |||
@@ -32,6 +32,7 @@ exports.CodeEditorController = Montage.create(Component, { | |||
32 | if(!value) { | 32 | if(!value) { |
33 | 33 | ||
34 | } else if(this._currentDocument.currentView === "code") { | 34 | } else if(this._currentDocument.currentView === "code") { |
35 | this._currentDocument.model.views.code.editor.focus(); | ||
35 | this.applySettings(); | 36 | this.applySettings(); |
36 | } | 37 | } |
37 | } | 38 | } |
diff --git a/js/document/views/design.js b/js/document/views/design.js index c7313708..dd8754ed 100755 --- a/js/document/views/design.js +++ b/js/document/views/design.js | |||
@@ -63,11 +63,6 @@ exports.DesignDocumentView = Montage.create(BaseDocumentView, { | |||
63 | set: function(value) {this._document = value;} | 63 | set: function(value) {this._document = value;} |
64 | }, | 64 | }, |
65 | //////////////////////////////////////////////////////////////////// | 65 | //////////////////////////////////////////////////////////////////// |
66 | // | ||
67 | propertiesPanel: { | ||
68 | value: null | ||
69 | }, | ||
70 | //////////////////////////////////////////////////////////////////// | ||
71 | // | 66 | // |
72 | _liveNodeList: { | 67 | _liveNodeList: { |
73 | value: null | 68 | value: null |