aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-31 00:31:22 -0700
committerValerio Virgillito2012-05-31 00:31:22 -0700
commitf51718fc39f1311a13cc6c998eb63160dc25218d (patch)
tree949a0f46a807e0522e8a5dc0f1f2c2a7893e1591 /js
parent66632a6e0de0998ff6d36abdaa8c3a546eada0f5 (diff)
downloadninja-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.js1
-rwxr-xr-xjs/document/views/design.js5
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