jQuery.dotdotdot library for the Rails asset pipeline
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
vendor/assets/javascripts
.gitignore
Gemfile
LICENSE.txt
README.md
Rakefile
jquery-dotdotdot-rails.gemspec

README.md

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

This gem is up to date with the 1.6.5 version.

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