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

What is polyfill.js used for? #63

Closed
whitea2 opened this issue Jan 19, 2018 · 1 comment
Closed

What is polyfill.js used for? #63

whitea2 opened this issue Jan 19, 2018 · 1 comment
Labels

Comments

@whitea2
Copy link

whitea2 commented Jan 19, 2018

What is the purpose of "https://cdn.polyfill.io/v2/polyfill.min.js" ?

I noticed on the polyfill.js site that it is no longer maintained. Can I safely comment the following to remove the need for polyfill.min.js?
$html = '<script src="' . $this->getPolyfillJs() . '"></script>' . PHP_EOL;"

@albertcht
Copy link
Owner

Hi @whitea2,

polyfill.js is for patching unsupported js apis for old browsers (like IE). And as far as I know, polyfill.js is still under maintainacne.

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

No branches or pull requests

2 participants