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 5814546 commit 331a5f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ This package requires Promise support, therefore you will need to polyfill if yo
**The browser-ready bundle is only 18 KB when minified and 6 KB when gzipped**.
```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/axe"></script>
<script type="text/javascript">
(function () {
Expand All @@ -548,10 +548,10 @@ This package requires Promise support, therefore you will need to polyfill if yo
#### 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
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<body>
<div id="app">
</div>
<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="dist/axe.js"></script>
<script type="text/javascript">
(function() {
Expand Down

0 comments on commit 331a5f3

Please sign in to comment.