Skip to content

Integrate jquery.cookie v1.3 assets in your Rails asset pipeline

License

Notifications You must be signed in to change notification settings

inventit/jquery-cookie-legacy-rails

Repository files navigation

Jquery::Cookie::Legacy::Rails

jquery.cookie for Rails.

The version of jquery.cookie.js provided by this gem is v1.3 and too old.

This gem is NOT RECOMMENDED to use proactively, and you should use js_cookie_rails instead. We will not maintain this gem any more.

Installation

Add this line to your application's Gemfile:

gem 'jquery-cookie-legacy-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install jquery-cookie-legacy-rails

Usage

In your application.js you will need to add this line:

//= require jquery.cookie

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/inventit/jquery-cookie-legacy-rails.

License

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

-