From f51718fc39f1311a13cc6c998eb63160dc25218d Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Thu, 31 May 2012 00:31:22 -0700 Subject: cleanup items Signed-off-by: Valerio Virgillito --- js/controllers/code-editor-controller.js | 1 + js/document/views/design.js | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'js') 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, { if(!value) { } else if(this._currentDocument.currentView === "code") { + this._currentDocument.model.views.code.editor.focus(); this.applySettings(); } } 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 @@ -62,11 +62,6 @@ exports.DesignDocumentView = Montage.create(BaseDocumentView, { get: function() {return this._document;}, set: function(value) {this._document = value;} }, - //////////////////////////////////////////////////////////////////// - // - propertiesPanel: { - value: null - }, //////////////////////////////////////////////////////////////////// // _liveNodeList: { -- cgit v1.2.3