From 410f5730954117a10ccda316bdb79f5526e0b67b Mon Sep 17 00:00:00 2001 From: probablycorey Date: Wed, 12 Feb 2014 17:19:50 -0800 Subject: [PATCH] Make addEditor and removeEditor private methods on project --- src/project.coffee | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/project.coffee b/src/project.coffee index 8ba75352f..1b0060d20 100644 --- a/src/project.coffee +++ b/src/project.coffee @@ -128,13 +128,12 @@ class Project extends Model filePath = @resolve(filePath) @buildEditorForBuffer(@bufferForPathSync(filePath), options) - - # Public: Add the given {Editor}. + # Add the given {Editor}. addEditor: (editor) -> @editors.push editor @emit 'editor-created', editor - # Public: Return and removes the given {Editor}. + # Return and removes the given {Editor}. removeEditor: (editor) -> _.remove(@editors, editor)