Skip to content
This repository has been archived by the owner on Jul 23, 2019. It is now read-only.

Commit

Permalink
v2.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
caseyahenson committed Jun 9, 2016
1 parent 8af5fdb commit 97892b7
Show file tree
Hide file tree
Showing 1,858 changed files with 2,040 additions and 1,880 deletions.
38 changes: 19 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ When storing user inputted text in your database, say from a guestbook or throug
We've teamed up with [JSDelivr](http://www.jsdelivr.com/#!emojione) to provide a simple way to install these emoji on any javascript-enabled website. Add the following script and stylesheet links to the head of your webpage:

```
<script src="//cdn.jsdelivr.net/emojione/2.2.0/lib/js/emojione.min.js"></script>
<link rel="stylesheet" href="//cdn.jsdelivr.net/emojione/2.2.0/assets/css/emojione.min.css"/>
<script src="//cdn.jsdelivr.net/emojione/2.2.1/lib/js/emojione.min.js"></script>
<link rel="stylesheet" href="//cdn.jsdelivr.net/emojione/2.2.1/assets/css/emojione.min.css"/>
```

Alternatively, CDNjs is also available as a [CDN Host for Emoji One](https://cdnjs.com/libraries/emojione).
Expand Down Expand Up @@ -62,19 +62,19 @@ Below there are some examples of how you will actually use the libraries to conv
### Javascript Conversion


**[.toShort\(str\)](http://git.emojione.com/demos/2.2.0/jstoshort.html)** - _native unicode -> shortnames_
**[.toShort\(str\)](http://git.emojione.com/demos/2.2.1/jstoshort.html)** - _native unicode -> shortnames_

This demo shows you how to take native unicode emoji input, such as that from your mobile device, and translate it to their corresponding shortnames. (we recommend this for database storage)

**[.shortnameToImage\(str\)](http://git.emojione.com/demos/2.2.0/jsshortnametoimage.html)** - _shortname -> images_
**[.shortnameToImage\(str\)](http://git.emojione.com/demos/2.2.1/jsshortnametoimage.html)** - _shortname -> images_

This demo shows you how to take input containing only shortnames and translate it directly to Emoji One images. (when displaying the unified input to clients)

**[.unicodeToImage\(str\)](http://git.emojione.com/demos/2.2.0/jsunicodetoimage.html)** - _native unicode -> images_
**[.unicodeToImage\(str\)](http://git.emojione.com/demos/2.2.1/jsunicodetoimage.html)** - _native unicode -> images_

This demo shows you how to take native unicode emoji input, such as that from your mobile device, and translate it directly to Emoji One images. (would be great for a live editor preview)

**[.toImage\(str\)](http://git.emojione.com/demos/2.2.0/jstoimage.html)** - _native unicode + shortnames -> images (mixed input)_
**[.toImage\(str\)](http://git.emojione.com/demos/2.2.1/jstoimage.html)** - _native unicode + shortnames -> images (mixed input)_

This demo shows you how to take input containing both native unicode emoji and shortnames, and translate it into Emoji One images for display.

Expand All @@ -83,19 +83,19 @@ This demo shows you how to take input containing both native unicode emoji and s

##### As of version 1.4.1 this library syntax has changed.

**[toShort\($str\)](http://git.emojione.com/demos/2.2.0/phptoshort.php)** - _native unicode -> shortnames_
**[toShort\($str\)](http://git.emojione.com/demos/2.2.1/phptoshort.php)** - _native unicode -> shortnames_

This demo shows you how to take native unicode emoji input, such as that from your mobile device, and translate it to their corresponding shortnames. (we recommend this for database storage)

**[shortnameToImage\($str\)](http://git.emojione.com/demos/2.2.0/phpshortnametoimage.php)** - _shortname -> images_
**[shortnameToImage\($str\)](http://git.emojione.com/demos/2.2.1/phpshortnametoimage.php)** - _shortname -> images_

This demo shows you how to take input containing only shortnames and translate it directly to Emoji One images. (when displaying the unified input to clients)

**[unicodeToImage\($str\)](http://git.emojione.com/demos/2.2.0/phpunicodetoimage.php)** - _native unicode -> images_
**[unicodeToImage\($str\)](http://git.emojione.com/demos/2.2.1/phpunicodetoimage.php)** - _native unicode -> images_

This demo shows you how to take native unicode emoji input, such as that from your mobile device, and translate it directly to Emoji One images. (would be great for a live editor preview)

**[toImage\($str\)](http://git.emojione.com/demos/2.2.0/phptoimage.php)** - _native unicode + shortnames -> images (mixed input)_
**[toImage\($str\)](http://git.emojione.com/demos/2.2.1/phptoimage.php)** - _native unicode + shortnames -> images (mixed input)_

This demo shows you how to take input containing both native unicode emoji and shortnames, and translate it into Emoji One images for display.

Expand Down Expand Up @@ -134,39 +134,39 @@ Or

### Extras

**[shortnameToUnicode(str)](http://git.emojione.com/demos/2.2.0/shortnametounicode.html)**
**[shortnameToUnicode(str)](http://git.emojione.com/demos/2.2.1/shortnametounicode.html)**

Change from shortnames to native unicode emoji.

**[Shortname Autocomplete](http://git.emojione.com/demos/2.2.0/autocomplete.html)**
**[Shortname Autocomplete](http://git.emojione.com/demos/2.2.1/autocomplete.html)**

Easily add shortname autocomplete functionality to any text input on your page.

**[ASCII Smiley Conversion](http://git.emojione.com/demos/2.2.0/ascii-smileys.html)**
**[ASCII Smiley Conversion](http://git.emojione.com/demos/2.2.1/ascii-smileys.html)**

With one quick step you can start converting common ASCII smileys to their corresponding images.

**[Alternate Alt Tags](http://git.emojione.com/demos/2.2.0/alternate-alt-tags.html)**
**[Alternate Alt Tags](http://git.emojione.com/demos/2.2.1/alternate-alt-tags.html)**

Change from the native unicode emoji in the resulting alt tags to their shortnames instead.

**[Live Preview Box](http://git.emojione.com/demos/2.2.0/live-preview.html)**
**[Live Preview Box](http://git.emojione.com/demos/2.2.1/live-preview.html)**

Display converted Emoji in a preview box as the user is typing.

**[Conversion HTML Class](http://git.emojione.com/demos/2.2.0/class-convert.html)**
**[Conversion HTML Class](http://git.emojione.com/demos/2.2.1/class-convert.html)**

Stick a class of .emojione-convert on any HTML element and automatically convert native unicode emoji and/or shortnames to images after page load.

**[Convert on Form Submission](http://git.emojione.com/demos/2.2.0/convert-on-submit.html)**
**[Convert on Form Submission](http://git.emojione.com/demos/2.2.1/convert-on-submit.html)**

Converts unicode input to shortnames once the user submits the form.

**[Sprites (PNG)](http://git.emojione.com/demos/2.2.0/sprites-png.html)**
**[Sprites (PNG)](http://git.emojione.com/demos/2.2.1/sprites-png.html)**

With an additional CSS file you can use Emoji One as resizable PNG sprites (up to 64x64).

**[Sprites (SVG)](http://git.emojione.com/demos/2.2.0/sprites-svg.html)**
**[Sprites (SVG)](http://git.emojione.com/demos/2.2.1/sprites-svg.html)**

This sprite method requires no extra CSS, and is infinitely resizable.

Expand Down
82 changes: 81 additions & 1 deletion assets/sprites/emojione.sprites.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion assets/svg/0023-20e3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/svg/0023.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion assets/svg/002a-20e3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/svg/002a.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion assets/svg/0030-20e3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/svg/0030.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion assets/svg/0031-20e3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/svg/0031.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion assets/svg/0032-20e3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 97892b7

Please sign in to comment.