mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Don’t use atom.packages global in TokenizedBuffer
This commit is contained in:
@@ -462,8 +462,8 @@ class Workspace extends Model
|
||||
|
||||
buildTextEditor: (params) ->
|
||||
params = _.extend({
|
||||
@config, @notificationManager, @clipboard, @viewRegistry, @grammarRegistry,
|
||||
@project, @assert
|
||||
@config, @notificationManager, @packageManager, @clipboard, @viewRegistry,
|
||||
@grammarRegistry, @project, @assert
|
||||
}, params)
|
||||
new TextEditor(params)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user