tools.md: explicitly say IE8 needs polyfills

Before adding this sentene, the first paragraph required me to look up `Array::indexOf` and those other functions to see what versions of Internet Explorer they were first supported in. Now, the relevance of that list is clear.

I also fixed the capitalization of “ECMAScript”.
This commit is contained in:
Rory O’Kane 2015-02-23 00:39:05 -05:00
parent 1653031747
commit d7373a050c

View file

@ -57,7 +57,7 @@ You can use it by adding a reference to your Typescript files. This will allow t
### Internet Explorer Compatibility ### Internet Explorer Compatibility
Mithril relies on some Ecmascript 5 features, namely: `Array::indexOf`, `Array::map` and `Object::keys`, as well as the `JSON` object. Mithril relies on some ECMAScript 5 features, namely: `Array::indexOf`, `Array::map` and `Object::keys`, as well as the `JSON` object. Internet Explorer 8 lacks native support for some of these features.
The easiest way to polyfill these features is to include this script: The easiest way to polyfill these features is to include this script: