Skip to content

ozirissp/angular-smilies

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 63.3%
  • CSS 20.0%
  • HTML 16.7%