hammerjs-rails

Hammer.js packaged for Rails assets pipeline

Includes

Plus source map files for Hammer.js & the Angular extension.

Usage

Add this line to your application's Gemfile:

gem 'hammerjs-rails'

And choose what you'd like to add to your JavaScript manifest file (application.js):

//= require hammer
//= require hammer.min

//= require jquery.hammer

//= require angular.hammer
//= require angular.hammer.min

//= require hammer-time
//= require hammer-time.min

//= require touch-emulator

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