Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Commit

Permalink
Merge pull request #84 from orangemug/fix/issue-79
Browse files Browse the repository at this point in the history
Change requirements for IE8 support
  • Loading branch information
JakeChampion committed Dec 7, 2016
2 parents a44b83a + 6643e4a commit 709dfc8
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Expand Up @@ -20,7 +20,20 @@ The library has been deployed as part of the [FT Web App](http://app.ft.com/) an
* Android Browser on Android 2 +
* PlayBook OS 1 +

When combined with a good [event listener polyfill](https://github.com/jonathantneal/EventListener) the library can be used in Internet Explorer 8 for events that bubble natively.
For older browsers (IE8) you'll need the following polyfills

- [Event](https://polyfill.io/v2/docs/features/#Event)
- [Array.prototype.map](https://polyfill.io/v2/docs/features/#Array_prototype_map)
- [Function.prototype.bind](https://polyfill.io/v2/docs/features/#Function_prototype_bind)
- [document.querySelector](https://polyfill.io/v2/docs/features/#document_querySelector)
- [Element.prototype.matches](https://polyfill.io/v2/docs/features/#Element_prototype_matches)

The easiest way is to include the following script tag and let [Polyfill.io](https://Polyfill.io) work its magic

```js
<script src="https://cdn.polyfill.io/v2/polyfill.js?features=Event,Array.prototype.map,Function.prototype.bind,document.querySelector,Element.prototype.matches"></script>
```


## Installation ##

Expand Down

0 comments on commit 709dfc8

Please sign in to comment.