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

Search plugin: Object doesn't support property or method 'forEach' #686

Closed
jhildenbiddle opened this issue Nov 5, 2018 · 0 comments
Closed

Comments

@jhildenbiddle
Copy link
Member

jhildenbiddle commented Nov 5, 2018

The NodeList.prototype.forEach is not available on all browsers and therefore throws an error that prevents other JavaScript from executing properly. IE, Edge < 16 and Safari < 10 are relatively recent browsers that are affected.

When working with NodeLists, use a standard for loop or convert the NodeList to an array to avoid this issue.

browser-support-ie10

As a friendly reminder to the community, please keep docsify's supported browsers (IE10+) in mind when modifying docsify or plugins. Ideally, changes should be tested in target browsers (IE, Edge, Chrome, Firefox, and Safari) before going live. Free access to these browsers is available by signing up for a open source developer account with https://www.browserstack.com/, https://saucelabs.com/, or similar services.

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

1 participant