Skip to content

Instantly share code, notes, and snippets.

@Manyaka
Last active August 6, 2020 16:59
Show Gist options
  • Save Manyaka/61221d705a2a80618d2b37f66556137c to your computer and use it in GitHub Desktop.
Save Manyaka/61221d705a2a80618d2b37f66556137c to your computer and use it in GitHub Desktop.
polifills for IE11 and choices.js

Features used in Choices:

Array.from - core-js
Array.prototype.find - core-js
Array.prototype.includes - core-js
Symbol - core-js
Symbol.iterator - core-js
DOMTokenList - core-js?
Object.assign - core-js
CustomEvent - https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent#Polyfill
Element.prototype.classList - https://github.com/eligrey/classList.js
Element.prototype.closest - https://developer.mozilla.org/ru/docs/Web/API/Element/closest#Полифилл_1_рекурсивный_метод
Element.prototype.dataset - work in IE11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment