SCRIPT5009: 'DOMTokenList' is undefined
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)
Looks like a regression. This is on my radar and I will attempt to fix it if the new maintainers are busy.
i have same issue here ie 'DOMTokenList' is undefined
Same issue in IE9.
@katesowles does it work with compat mode turned off?
@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.
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
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.