From 0b0dddee8297e36d3811eca8dd79509bfa4fcfaa Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Sat, 19 Sep 2015 16:01:41 -0600 Subject: [PATCH] :fire: Remove deprecations from Pane --- src/pane.coffee | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/src/pane.coffee b/src/pane.coffee index 6abb946b6..161f5251a 100644 --- a/src/pane.coffee +++ b/src/pane.coffee @@ -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