Skip to content

Commit

Permalink
fix: recommend cloudflare vs polyfill.io
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Jun 25, 2024
1 parent aceee58 commit 5966955
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ console.log('M/D/YY', dayjs().format('M/D/YY'));
This is the solution for you if you're just using `<script>` tags everywhere!

```html
<script src="https://polyfill.io/v3/polyfill.min.js?features=Promise"></script>
<script src="https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=Promise"></script>
<script src="https://unpkg.com/dayjs-with-plugins"></script>
<script type="text/javascript">
(function() {
Expand All @@ -58,10 +58,10 @@ This is the solution for you if you're just using `<script>` tags everywhere!

##### Required Browser Features

We recommend using <https://polyfill.io> (specifically with the bundle mentioned in [VanillaJS](#vanillajs) above):
We recommend using <https://cdnjs.cloudflare.com/polyfill> (specifically with the bundle mentioned in [VanillaJS](#vanillajs) above):

```html
<script src="https://polyfill.io/v3/polyfill.min.js?features=Promise"></script>
<script src="https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=Promise"></script>
```

* Promise is not supported in op\_mini all
Expand Down

0 comments on commit 5966955

Please # to comment.