Skip to content

tomekw/storejs-rails

Repository files navigation

storejs-rails

marcuswestin's store.js exposes a simple API for cross browser local storage. storejs-rails packages it to use with Rails asset pipeline.

Installation

Add this line to your application's Gemfile:

gem "storejs-rails"

And then execute:

$ bundle

Or install it yourself as:

$ gem install storejs-rails

Usage

Add this line to app/assets/javascripts/application.js:

//= require store

Documentation

marcuswestin/store.js

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

About

marcuswestin's store.js exposes a simple API for cross browser local storage. storejs-rails packages it to use with Rails asset pipeline.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages