Skip to content

Commit

Permalink
fix(README): Add String.prototype.includes to polyfill (#277)
Browse files Browse the repository at this point in the history
I found the picker was failing under IE11 with the current polyfill:

`object doesn't support method or property 'includes'`

Adding String.prototype.includes seems to fix it.
  • Loading branch information
nickbaum authored and pcholuj committed Aug 23, 2019
1 parent d371552 commit 460d585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ Module (for bundling):
* https://babeljs.io/docs/en/babel-polyfill

Script (for script tag):
* https://polyfill.io/v3/polyfill.min.js?features=Promise%2CSymbol%2CSymbol.iterator%2CArray.from%2CObject.assign%2CNumber.isFinite
* https://polyfill.io/v3/polyfill.min.js?features=Promise%2CSymbol%2CSymbol.iterator%2CArray.from%2CObject.assign%2CNumber.isFinite%2CString.prototype.includes

## Development

Expand Down

0 comments on commit 460d585

Please sign in to comment.