1
0
mirror of https://github.com/twitter/twemoji.git synced 2024-10-01 12:24:23 +00:00

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.
This commit is contained in:
Andrea Giammarchi 2016-07-14 17:33:40 +01:00 committed by GitHub
parent 60db6a9daa
commit 6b452a275f

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