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