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