Skip to content

highfidelity/jquery-smooth-scroll-rails

 
 

Repository files navigation

Installation

Rails programmer will have jquery-smooth-scroll plugin in asset pipeline when using this little shiny thang. Bling you scrolling!

There is no gem of this version bumping fork yet.

Rails 4

Add this to your project's Gemfile:

group :assets do
  #gem 'jquery-smooth-scroll-rails'
  gem 'jquery-smooth-scroll-rails', :git => '[email protected]:gretel/jquery-smooth-scroll-rails.git'
end

Add this to application.js, possibly at app/assets/javascripts/application.js:

//= require jquery-smooth-scroll

For production you might need to re-precompile assets:

RAILS_ENV=production bundle exec rake assets:precompile

The actual usage is explained here.

Rails 3

Dunno if it works, sorry. Please report any issues.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%