by Juneyoung Oh
Writen in 12.NOV.15
KOR
Currently this project only supports OSX.
Please, wait for other operating systems.
It supports OSX as well as Windows.
I did not test on Linux, Unix and 32 bits system :-)
EMOJIHANDLER.addInputById('textinp');
EMOJIHANDLER.start();Caution : adding file system can not refer 'file:///', since javascript security policy.
(As you know native js can not access to local file system)
- Dictionary file
- A line of code A dictionary file looks like follow
:-),\ud83d\ude03
^^,\ud83d\ude03
^_^,\ud83d\ude03
:),\ud83d\ude03
:D,\ud83d\ude03
It has a ',' as a separator between key(what users are going to type) and value(unicode emoji surrogates).
I made a sample for you "Sample.dictionary".
And you put a line of code right before EMOJIHANDLER.start();. The line is below.
EMOJIHANDLER.addFileUrl('../data/sample.dictionary');EASY!
Unicode byte codes and surrogates from unicode.org
- 12.NOV.15 - Very first distribution by Juneyoung Oh
- 14.NOV.15 - Patch replace logic and file refering system, Sample.dictionary by Juneyoung Oh
