Don't need to pass view registry through anymore.

This commit is contained in:
joshaber
2016-04-25 16:26:28 -04:00
parent 32a53e392c
commit 8d7f1b8fba
2 changed files with 3 additions and 6 deletions

View File

@@ -570,7 +570,7 @@ class Workspace extends Model
# Returns a {TextEditor}.
buildTextEditor: (params) ->
params = _.extend({
@config, @clipboard, @viewRegistry, @grammarRegistry,
@config, @packageManager, @clipboard, @grammarRegistry,
@project, @assert, @applicationDelegate
}, params)
new TextEditor(params)