From d2bf0c5502850861f31d2c7c896a467cb9a38ef4 Mon Sep 17 00:00:00 2001 From: Loic Nageleisen Date: Mon, 23 Feb 2015 12:09:55 +0100 Subject: [PATCH] cleanup --- lib/ex.coffee | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/lib/ex.coffee b/lib/ex.coffee index c3b9a95..303afa8 100644 --- a/lib/ex.coffee +++ b/lib/ex.coffee @@ -4,8 +4,7 @@ class Ex quit: -> atom.workspace.getActivePane().destroyActiveItem() - q: => - @quit() + q: => @quit() tabedit: (filePaths...) -> pane = atom.workspace.getActivePane() @@ -15,11 +14,9 @@ class Ex else atom.workspace.openURIInPane('', pane) - tabe: (filePaths...) => - @tabedit(filePaths...) + tabe: (filePaths...) => @tabedit(filePaths...) - tabnew: (filePaths...) => - @tabedit(filePaths...) + tabnew: (filePaths...) => @tabedit(filePaths...) tabclose: => @quit() @@ -43,7 +40,7 @@ class Ex enew: => @edit() - write: (filePath) => + write: (filePath) -> projectPath = atom.project.getPath() pane = atom.workspace.getActivePane() editor = atom.workspace.getActiveEditor()