Skip to content

Commit

Permalink
v9 release
Browse files Browse the repository at this point in the history
  • Loading branch information
caseyahenson committed Jul 16, 2024
1 parent 9cc559e commit 8f6ef2a
Show file tree
Hide file tree
Showing 15 changed files with 15,874 additions and 13,570 deletions.
2 changes: 1 addition & 1 deletion USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Both PHP and JavaScript libraries now have wider range of available properties. The following are available for both libraries.

- `emojiVersion` (str) - Used only to direct CDN path. This is a 2-digit version (e.g. '8.0'). Not recommended for usage below 3.0.0.
- `emojiVersion` (str) - Used only to direct CDN path. This is a 2-digit version (e.g. '9.0'). Not recommended for usage below 3.0.0.
- `emojiSize` (str) **Default: `32`** - Used only to direct CDN path for non-sprite PNG usage. Available options are '32', '64', and '128'.
- `imagePathPNG` (str) - Defaults to CDN (jsdelivr) path. Setting as alternate path overwrites `emojiSize` option.
- `fileExtension` (str) - Defaults to .png. Set to '.svg' if using premium assets (.svg) locally.
Expand Down
2 changes: 1 addition & 1 deletion emoji.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion emoji_strategy.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions examples/OTHER.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ By default, both the Javascript and PHP toolkits we've provided will use the nat
**HTML Output (default)**
```html
<p id="example-png">
PNG: Hello world! <img class="joypixels" alt="😄" title=":smile:" src="https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/32/1f604.png">
PNG: Hello world! <img class="joypixels" alt="😄" title=":smile:" src="https://cdn.jsdelivr.net/joypixels/assets/9.0/png/unicode/32/1f604.png">
</p>
```

Expand All @@ -32,7 +32,7 @@ $(document).ready(function() {
**HTML Output For Shortname Alt**
```html
<p id="example-png">
PNG: Hello world! <img class="joypixels" alt=":smile:" title=":smile:" src="https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/32/1f604.png">
PNG: Hello world! <img class="joypixels" alt=":smile:" title=":smile:" src="https://cdn.jsdelivr.net/joypixels/assets/9.0/png/unicode/32/1f604.png">
</p>
```

Expand Down Expand Up @@ -83,7 +83,7 @@ $(document).ready(function() {
callback(newResults);
},
template: function (shortname) {
return '<img class="joypixels" src="https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/32/'+unicode+'.png"/> :'+emojiStrategy[shortname].unicode+':';
return '<img class="joypixels" src="https://cdn.jsdelivr.net/joypixels/assets/9.0/png/unicode/32/'+unicode+'.png"/> :'+emojiStrategy[shortname].unicode+':';
},
replace: function (shortname) {
return ':'+shortname+': ';
Expand Down
120 changes: 119 additions & 1 deletion extras/alpha-codes/eac.csv

Large diffs are not rendered by default.

Loading

0 comments on commit 8f6ef2a

Please sign in to comment.