Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 926 Bytes

README.md

File metadata and controls

51 lines (38 loc) · 926 Bytes

jQuery Emoji Plugin

A simple, lightweight jQuery plugin for emoji parser. 👅

Installation

Include script after the jQuery library (unless you are packaging scripts somehow else):

<script src="/path/to/jquery.emoji.js"></script>

Usage

Very simple.

<script type="text/javascript">
$(document).ready(function(){
  $('.comment').each(function(i, d){
    $(d).emoji();
  });
});
</script>
...
<div class="comment">
  <p>:+1:</p>
</div>

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Author

linyows

License

Copyright (c) 2012 linyows Licensed under the MIT license.