GitHub - jesjos/stringjs-rails: The String.js Javascript library ready for the Rails asset pipeline (original) (raw)

Stringjs::Rails

This is a no-frills asset pipeline wrapper for the String.js Javascript library.

Installation

Add this line to your application's Gemfile:

And then execute:

Or install it yourself as:

$ gem install stringjs-rails

Usage

Add this line to your manifest:

Or use the minified version:

For usage of the library see the String.js homepage.

Versioning

Major, minor and patch numbers will match those of String.js. Should bugs be fixed in the gem itself, a fourth version number will be added.

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