mirror of
https://github.com/atom/atom.git
synced 2026-02-15 17:15:24 -05:00
Use _.clone instead of new Array
This commit is contained in:
@@ -77,7 +77,7 @@ class Workspace extends Model
|
||||
#
|
||||
# Returns an {Array} of {Editor}s.
|
||||
getEditors: ->
|
||||
new Array(@editors...)
|
||||
_.clone(@editors...)
|
||||
|
||||
# Public: Open a given a URI in Atom asynchronously.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user