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

SCRIPT5009: 'DOMTokenList' is undefined #76

Open
JamesSwift opened this issue Dec 7, 2017 · 7 comments
Open

SCRIPT5009: 'DOMTokenList' is undefined #76

JamesSwift opened this issue Dec 7, 2017 · 7 comments

Comments

@JamesSwift
Copy link

I was trying out classList.js in IE11, in IE9 emulation mode. However I'm getting the following:

SCRIPT5009: 'DOMTokenList' is undefined
classList.js (232,3)
@eligrey
Copy link
Owner

eligrey commented Dec 12, 2017

Looks like a regression. This is on my radar and I will attempt to fix it if the new maintainers are busy.

@drnkwati
Copy link

i have same issue here ie 'DOMTokenList' is undefined

@katesowles
Copy link

Same issue in IE9.

@eligrey
Copy link
Owner

eligrey commented Jan 24, 2018

@katesowles does it work with compat mode turned off?

@katesowles
Copy link

@eligrey Are you looking for something other than the following?:

  • Browser Mode : IE9
  • Document Mode : IE9 Standards

I'm using BrowserStack, and not terribly knowledgable about IE in general, so let me know if there's something else I'm missing that I can try.

@eligrey
Copy link
Owner

eligrey commented Jan 25, 2018

classList.js will need a few changes to fix this.

I'm pretty sure this regression was introduced when I first accepted a PR for detection and expansion of partial classList implementations

@eligrey
Copy link
Owner

eligrey commented Jan 25, 2018

Older versions that don't handle toggle()'s second argument or replace() should be fine. I'll look into fixing this when I get time, but I am very busy so you should consider writing a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants