jQuery-dotdotdot-rails wraps the jQuery.dotdotdot.js library in a rails engine for simple use with the asset pipeline provided by Rails 3.1. The gem includes the development (non-minified) source for ease for exploration. The asset pipeline will minify in production.
jQuery-dotdotdot.js is "an advanced cross-browser ellipsis for multiple line content." Please see the documentation for details(http://dotdotdot.frebsite.nl/)
This gem is up to date with the 1.6.5 version.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install jquery-dotdotdot-rails
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request