Skip to content

Commit ca93725

Browse files
committed
fix: recommend cloudflare vs polyfill.io
1 parent 1eb47dd commit ca93725

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ We highly recommend to simply use [Cabin][] as this package is built-in!
181181
The example below uses [xhook][] which is used to intercept HTTP requests made in the browser.
182182

183183
```html
184-
<script src="https://polyfill.io/v3/polyfill.min.js?features=performance,WeakRef"></script>
184+
<script src="https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=performance,WeakRef"></script>
185185
<script src="https://unpkg.com/xhook"></script>
186186
<script src="https://unpkg.com/parse-request"></script>
187187
<script type="text/javascript">
@@ -197,10 +197,10 @@ The example below uses [xhook][] which is used to intercept HTTP requests made i
197197

198198
#### Required Browser Features
199199

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

202202
```html
203-
<script src="https://polyfill.io/v3/polyfill.min.js?features=performance,WeakRef"></script>
203+
<script src="https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=performance,WeakRef"></script>
204204
```
205205

206206
* performance.now() is not supported in op\_mini all

0 commit comments

Comments
 (0)