diff --git a/docs/tools.md b/docs/tools.md index b001f5ec..678f54ca 100644 --- a/docs/tools.md +++ b/docs/tools.md @@ -60,6 +60,13 @@ You can use it by adding a reference to your Typescript files. This will allow t Mithril relies on some Ecmascript 5 features, namely: `Array::indexOf`, `Array::map` and `Object::keys`, as well as the `JSON` object. The easiest way to polyfill these features is to include this script: + +```javascript + +``` + +This will provide all the polyfills required for the browser. You can alternatively include only specific polyfills: + ```markup ```