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:

gem 'stringjs-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install stringjs-rails

Usage

Add this line to your manifest:

//= require 'string'

Or use the minified version:

//= require 'string.min'

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