Fixes #173. Remove @ prefix from showError call

This commit is contained in:
Glavin Wiechert 2015-01-03 11:36:34 -04:00
parent 0d20a43538
commit c110ca72a4
1 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ beautify = ({onSave}) ->
return
), 0
else
@showError(new Error("Unsupported beautification result '#{text}'."))
showError(new Error("Unsupported beautification result '#{text}'."))
# else
# console.log "Already Beautiful!"
@loadingView.hide()
@ -117,7 +117,7 @@ beautify = ({onSave}) ->
editor = atom.workspace.getActiveEditor()
# Check if there is an active editor
if not editor?
return @showError(new Error("Active Editor not found. "
return showError(new Error("Active Editor not found. "
"Please select a Text Editor first to beautify."))
isSelection = !!editor.getSelectedText()