We don't need to pass in an app delegate here anymore.

This commit is contained in:
joshaber
2016-04-26 16:15:30 -04:00
parent e038ff3260
commit c3bfba0e53

View File

@@ -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)