mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-14 04:29:04 +03:00
Use list.map instead of _.map list
This commit is contained in:
parent
acb19c1fe1
commit
ef97197681
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user