1
0
mirror of https://github.com/twitter/twemoji.git synced 2024-12-27 21:15:19 +00:00

Add cdnjs option too

`cdnjs` is widely used so it's probably a good idea to mention it too for those that have a preference :)
This commit is contained in:
Andreas Savvides 2015-04-13 18:00:09 +01:00
parent 398533a464
commit 5a04e248f6

View File

@ -12,6 +12,12 @@ Just use the following in the `<head>` tag of your HTML document(s):
<script src="//twemoji.maxcdn.com/twemoji.min.js"></script> <script src="//twemoji.maxcdn.com/twemoji.min.js"></script>
``` ```
Alternatively you can use [cdnjs](https://cdnjs.com/) if you prefer:
```html
<script src="//cdnjs.cloudflare.com/ajax/libs/twemoji/1.3.2/twemoji.min.js"></script>
```
## API ## API
Following all methods exposed through the `twemoji` namespace. Following all methods exposed through the `twemoji` namespace.