gem for fastclick.js
Switch branches/tags
Nothing to show
Clone or download
komagata Merge pull request #3 from thenickcox/1.0.6
update to fastclick v.1.0.6 (closes #2)
Latest commit d33458a Dec 10, 2015
Permalink
Failed to load latest commit information.
lib Update to 1.0.6 Mar 12, 2015
vendor/assets/javascripts Update to 1.0.6 Mar 12, 2015
.gitignore First added May 1, 2013
Gemfile First added May 1, 2013
LICENSE.txt First added May 1, 2013
README.md Add initialize code May 2, 2013
Rakefile First added May 1, 2013
fastclick-rails.gemspec Add rails/engine May 1, 2013

README.md

fastclick-rails

gem for fastclick.js

Installation

Add this line to your application's Gemfile:

gem 'fastclick-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install fastclick-rails

Usage

Add the follow line in app/assets/javascripts/application.js

//= require fastclick

Initialize in app/assets/javascripts/foo.js.coffee

$ ->
  new FastClick(document.body)

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