jQuery.dotdotdot-rails

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

Installation

Add this line to your application's Gemfile:

gem 'jquery-dotdotdot-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install jquery-dotdotdot-rails

Contributing

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