Skip to content

Commit

Permalink
Update things that previously said polyfill.io to cloudflare version
Browse files Browse the repository at this point in the history
  • Loading branch information
bkardell authored Jul 23, 2024
1 parent 699b3f8 commit eff22ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ In accordance with the W3C's new [polyfill
guidance](https://www.w3.org/2001/tag/doc/polyfills/#don-t-serve-unnecessary-polyfills),
the `inert` polyfill does not bundle other polyfills.

You can use a service like [Polyfill.io](https://polyfill.io/v2/docs/examples)
You can use a service like [https://cdnjs.cloudflare.com/polyfill](https://cdnjs.cloudflare.com/polyfill)
to download only the polyfills needed by the current browser. Just add the
following line to the start of your page:

Expand Down Expand Up @@ -144,7 +144,7 @@ Promise.resolve().then(() => {
Tests are written using ES5 syntax. This is to avoid needing to transpile them
for older browsers. There are a few modern features they rely upon, e.g.
`Array.from` and `Promises`. These are polyfilled for the tests using
[Polyfill.io](http://polyfill.io/). For a list of polyfilled features, check out
[https://cdnjs.cloudflare.com/polyfill](https://cdnjs.cloudflare.com/polyfill). For a list of polyfilled features, check out
the `polyfill` section in `karma.conf.js`.

### Big Thanks
Expand Down

0 comments on commit eff22ee

Please sign in to comment.