polyfill.io throws error, suggest es5-shim instead
This commit is contained in:
parent
59ebe873f7
commit
b89568f829
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ Mithril relies on some Ecmascript 5 features, namely: `Array::indexOf`, `Array::
|
|||
The easiest way to polyfill these features is to include this script:
|
||||
|
||||
```javascript
|
||||
<script src="https://polyfill.io/"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.0.3/es5-shim.min.js"></script>
|
||||
```
|
||||
|
||||
This will provide all the polyfills required for the browser. You can alternatively include only specific polyfills:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue