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

Code should exit if MutationObserver isn't supported. #7

Closed
bryanbraun opened this issue Nov 3, 2015 · 1 comment · Fixed by #11
Closed

Code should exit if MutationObserver isn't supported. #7

bryanbraun opened this issue Nov 3, 2015 · 1 comment · Fixed by #11

Comments

@bryanbraun
Copy link
Contributor

The polyfill relies on MutationObserver which isn't supported in several environments (like old IE). That's not a big deal since those environments don't typically have the 300ms delay, but we need to exit early if the MutationObserver isn't supported or else we'll get errors in those environments. For example:

IE 9:
image

PhantomJS 1.9.8:
image

@arschmitz
Copy link
Contributor

@bryanbraun good catch thank you will get this fixed and thank you for the other 2 patches!

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

Successfully merging a pull request may close this issue.

2 participants