angular-smilies

AngularJS filter & directive for smilies parsing

Homepage

Angular Core Dependency: 1.x

Module License: MIT

Added by: Sam Deering

GitHub

Repository

mistic100/angular-smilies

Stats

Stars: 6

Watchers: 6

Forks: 2

Module Description

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).

Module stats last updated: 2015-06-07 05:25:39

Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!