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

Merge pull request #74 from AnSavvides/patch-1

Add cdnjs option too
This commit is contained in:
Andrea Giammarchi 2015-04-14 12:48:29 +01:00
commit 695d863b3d

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>
```
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
Following all methods exposed through the `twemoji` namespace.