Manages the deserializers used for serialized state
An instance of this class is always available as the atom.deserializers
global.
class MyPackageView extends View
atom.deserializers.add(this)
@deserialize: (state) ->
new MyPackageView(state)
constructor: (@state) ->
serialize: ->
@state
Register the given class(es) as deserializers.
Argument | Description |
---|---|
|
One or more deserializers to register. A deserializer can be any object with a |