From ef97197681b69909748077db5b0f76c100c9a5d4 Mon Sep 17 00:00:00 2001 From: Lee Dohm Date: Fri, 9 Jan 2015 16:42:16 -0800 Subject: [PATCH] Use list.map instead of _.map list --- src/text-editor.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text-editor.coffee b/src/text-editor.coffee index eeeb774fa..aeaeb49ea 100644 --- a/src/text-editor.coffee +++ b/src/text-editor.coffee @@ -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)