Skip to content

Integrate wordBreak.js assets in your Rails asset pipeline

License

Notifications You must be signed in to change notification settings

inventit/wordbreak-shim-rails

Repository files navigation

Wordbreak::Shim::Rails

wordBreak.js for Rails.

Installation

Add this line to your application's Gemfile:

gem 'wordbreak-shim-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install wordbreak-shim-rails

Usage

In your application.js you will need to add these lines:

//= require wordBreak

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/inventit/wordbreak-shim-rails.

License

The gem is available as open source under the terms of the MIT License.