mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Use list.map instead of _.map list
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user