ozirissp / angular-smilies

AngularJS filter & directive for smilies parsing

Home Page:http://mistic100.github.io/angular-smilies

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AngularJS Smilies filter & directive

Bower version

Documentation

http://mistic100.github.io/angular-smilies

Building

Uses Grunt to build the source. You will need ImageMagick and GraphicsMagick.

apt-get install imagemagick
apt-get install graphicsmagick

npm install
grunt

The Grunt tasks are:

  • build CSS sprite
  • encode sprite in Base64
  • inject smilies configuration in JS file
  • inject base64 image in CSS file
  • minify CSS and JS files

You can easily change smilies by placing them in the src/smilies directory. Currently, only PNG files are supported.

The config.json file must be provided, it configure the smiley used for picker button (main parameter) and list of custom replacement (shorts parameter, can be empty).

About

AngularJS filter & directive for smilies parsing

http://mistic100.github.io/angular-smilies

License:MIT License


Languages

Language:JavaScript 63.2%Language:CSS 20.0%Language:HTML 16.7%