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

Commit

Permalink
2.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael committed Mar 15, 2016
1 parent 9c4577c commit 315cbfc
Show file tree
Hide file tree
Showing 37 changed files with 109 additions and 9,885 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.1.1/lib/js/emojione.min.js"></script>
<link rel="stylesheet" href="//cdn.jsdelivr.net/emojione/2.1.1/assets/css/emojione.min.css"/>
<script src="//cdn.jsdelivr.net/emojione/2.1.2/lib/js/emojione.min.js"></script>
<link rel="stylesheet" href="//cdn.jsdelivr.net/emojione/2.1.2/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.1.1/jstoshort.html)** - _native unicode -> shortnames_
**[.toShort\(str\)](http://git.emojione.com/demos/2.1.2/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.1.1/jsshortnametoimage.html)** - _shortname -> images_
**[.shortnameToImage\(str\)](http://git.emojione.com/demos/2.1.2/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.1.1/jsunicodetoimage.html)** - _native unicode -> images_
**[.unicodeToImage\(str\)](http://git.emojione.com/demos/2.1.2/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.1.1/jstoimage.html)** - _native unicode + shortnames -> images (mixed input)_
**[.toImage\(str\)](http://git.emojione.com/demos/2.1.2/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.1.1/phptoshort.php)** - _native unicode -> shortnames_
**[toShort\($str\)](http://git.emojione.com/demos/2.1.2/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.1.1/phpshortnametoimage.php)** - _shortname -> images_
**[shortnameToImage\($str\)](http://git.emojione.com/demos/2.1.2/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.1.1/phpunicodetoimage.php)** - _native unicode -> images_
**[unicodeToImage\($str\)](http://git.emojione.com/demos/2.1.2/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.1.1/phptoimage.php)** - _native unicode + shortnames -> images (mixed input)_
**[toImage\($str\)](http://git.emojione.com/demos/2.1.2/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.1.1/shortnametounicode.html)**
**[shortnameToUnicode(str)](http://git.emojione.com/demos/2.1.2/shortnametounicode.html)**

Change from shortnames to native unicode emoji.

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

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

**[ASCII Smiley Conversion](http://git.emojione.com/demos/2.1.1/ascii-smileys.html)**
**[ASCII Smiley Conversion](http://git.emojione.com/demos/2.1.2/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.1.1/alternate-alt-tags.html)**
**[Alternate Alt Tags](http://git.emojione.com/demos/2.1.2/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.1.1/live-preview.html)**
**[Live Preview Box](http://git.emojione.com/demos/2.1.2/live-preview.html)**

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

**[Conversion HTML Class](http://git.emojione.com/demos/2.1.1/class-convert.html)**
**[Conversion HTML Class](http://git.emojione.com/demos/2.1.2/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.1.1/convert-on-submit.html)**
**[Convert on Form Submission](http://git.emojione.com/demos/2.1.2/convert-on-submit.html)**

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

**[Sprites (PNG)](http://git.emojione.com/demos/2.1.1/sprites-png.html)**
**[Sprites (PNG)](http://git.emojione.com/demos/2.1.2/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.1.1/sprites-svg.html)**
**[Sprites (SVG)](http://git.emojione.com/demos/2.1.2/sprites-svg.html)**

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

Expand Down
Loading

0 comments on commit 315cbfc

Please sign in to comment.