mirror of
https://github.com/atom/atom.git
synced 2026-02-16 01:25:13 -05:00
Don't need to pass packageManager in anymore.
This commit is contained in:
@@ -570,8 +570,8 @@ class Workspace extends Model
|
||||
# Returns a {TextEditor}.
|
||||
buildTextEditor: (params) ->
|
||||
params = _.extend({
|
||||
@config, @packageManager, @clipboard, @viewRegistry,
|
||||
@grammarRegistry, @project, @assert, @applicationDelegate
|
||||
@config, @clipboard, @viewRegistry, @grammarRegistry,
|
||||
@project, @assert, @applicationDelegate
|
||||
}, params)
|
||||
new TextEditor(params)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user