🔥 Remove deprecations from Pane

This commit is contained in:
Nathan Sobo
2015-09-19 16:01:41 -06:00
parent 14e4e46b17
commit 0b0dddee82

View File

@@ -14,11 +14,16 @@ class Pane extends Model
atom.deserializers.add(this)
Serializable.includeInto(this)
container: undefined
activeItem: undefined
focused: false
constructor: (params) ->
super
@container = params?.container
@activeItem = params?.activeItem
@focused = params?.focused
@emitter = new Emitter
@itemSubscriptions = new WeakMap
@@ -714,14 +719,3 @@ class Pane extends Model
atom.notifications.addWarning("Unable to save file: A directory in the path '#{fileName}' could not be written to")
else
throw error
Grim = require 'grim'
if Grim.includeDeprecatedAPIs
Pane.properties
container: undefined
activeItem: undefined
focused: false
else
Pane::container = undefined
Pane::activeItem = undefined
Pane::focused = undefined