mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Register deserializers, view providers, and commands in Atom constructor
Previously, these registrations were scattered all over the codebase and required that `global.atom` be defined, which creating weird ordering issues. Registering them all from the global makes the relationships clearer and means we don’t have to assign a global to set up a fully- functional environment.
This commit is contained in:
@@ -4,8 +4,6 @@ Model = require './model'
|
||||
|
||||
module.exports =
|
||||
class PaneAxis extends Model
|
||||
atom.deserializers.add(this)
|
||||
|
||||
parent: null
|
||||
container: null
|
||||
orientation: null
|
||||
|
||||
Reference in New Issue
Block a user