Added MaxCDN v2.1 version via query string

As discussed in https://github.com/twitter/twemoji/issues/156 , developers that do copy and paste the MaxCDN link might have to wait up to 30 days for they users to download new assets and new RegExp.

Since we don't follow samever principle here, I've simply added a query string that would force eentually browsers to download the latest version of the library without compromising PNGs or SVGs cached assets and preserving functionality.
pull/158/head
Andrea Giammarchi 2016-07-14 17:33:40 +01:00 committed by GitHub
parent 60db6a9daa
commit 6b452a275f
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ The folks over at [MaxCDN](https://www.maxcdn.com) graciously provide CDN suppor
For the latter one, use the following in the `<head>` tag of your HTML document(s):
```html
<script src="//twemoji.maxcdn.com/2/twemoji.min.js"></script>
<script src="//twemoji.maxcdn.com/2/twemoji.min.js?2.1"></script>
```
## Breaking changes in V2