Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove implicit dependency on Element for classList #1063

Merged
merged 2 commits into from
Nov 15, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/vendor/polyfills/Element/prototype/classList.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import '../../Object/defineProperty'
import '../../DOMTokenList'
import '../../Element'

(function(undefined) {

Expand All @@ -14,7 +15,7 @@ import '../../DOMTokenList'

if (detect) return

// Polyfill from https://raw.githubusercontent.com/Financial-Times/polyfill-service/8717a9e04ac7aff99b4980fbedead98036b0929a/packages/polyfill-library/polyfills/Element/prototype/classList/polyfill.js
// Polyfill from https://cdn.polyfill.io/v2/polyfill.js?features=Element.prototype.classList&flags=always
(function (global) {
var dpSupport = true;
var defineGetter = function (object, name, fn, configurable) {
Expand Down