Use list.map instead of _.map list

This commit is contained in:
Lee Dohm 2015-01-09 16:42:16 -08:00
parent acb19c1fe1
commit ef97197681

View File

@ -2523,7 +2523,7 @@ class TextEditor extends Model
logCursorScope: ->
scopeDescriptor = @getLastCursor().getScopeDescriptor()
list = scopeDescriptor.scopes.toString().split(',')
list = _.map list, (item) -> "* #{item}"
list = list.map (item) -> "* #{item}"
content = "Scopes at Cursor\n#{list.join('\n')}"
atom.notifications.addInfo(content, dismissable: true)