mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
stash
This commit is contained in:
@@ -130,7 +130,7 @@ class CommandPanelView extends View
|
||||
@searchLoadingMessage.show()
|
||||
@errorMessages.empty()
|
||||
project.previewList = @previewList
|
||||
|
||||
|
||||
try
|
||||
@commandInterpreter.eval(command, rootView.getActivePaneItem()).done ({operationsToPreview, errorMessages}) =>
|
||||
@searchLoadingMessage.hide()
|
||||
@@ -149,7 +149,7 @@ class CommandPanelView extends View
|
||||
else
|
||||
@detach()
|
||||
catch error
|
||||
@loadingMessage.hide()
|
||||
@searchLoadingMessage.hide()
|
||||
if error.name is "SyntaxError"
|
||||
@flashError()
|
||||
return
|
||||
|
||||
@@ -70,7 +70,6 @@ class PreviewList extends ScrollView
|
||||
|
||||
pathViewForPath: (path) ->
|
||||
pathView = @viewsForPath[path]
|
||||
console.log(path)
|
||||
if not pathView
|
||||
pathView = new PathView({path: path, previewList: this})
|
||||
@viewsForPath[path] = pathView
|
||||
|
||||
Reference in New Issue
Block a user