Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Fix shadow DOM removal deprecations#779

Merged
joefitzgerald merged 2 commits intomasterfrom
as-fix-shadow-dom-deprecations
Oct 14, 2016
Merged

Fix shadow DOM removal deprecations#779
joefitzgerald merged 2 commits intomasterfrom
as-fix-shadow-dom-deprecations

Conversation

@as-cii
Copy link
Contributor

@as-cii as-cii commented Oct 7, 2016

This pull request fixes two deprecations that will be added as part of the shadow DOM removal:

  1. Instead of relying on document.activeElement returning an atom-text-editor element, it now uses the closest API instead.
  2. It replaces usages of TextEditorElement.prototype.shadowRoot with the editor element itself.

/cc: @atom/core

@nathansobo
Copy link
Contributor

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants