Don't need to pass in the notification manager anymore.

This commit is contained in:
joshaber
2016-04-25 14:12:20 -04:00
parent 8bf34d45d7
commit 48e49061e6

View File

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