flipclockjs-rails
This gem packages FlipClock.js for the Rails 3.1+ asset pipeline.
FlipClock JS version: 0.7.7
FlipClock.js requires jQuery 1.7.x+.
Installation
Add this line to your application's Gemfile:
gem 'flipclockjs-rails', '~> 0.7.7'
And then execute:
$ bundleOr install it yourself as:
$ gem install flipclockjs-railsAdd the following to your JavaScript manifest file (application.js):
//= require flipclock.minAdd the following to your stylesheet file:
If you are using SCSS, modify your application.css.scss:
@import 'flipclock';If you're using plain CSS, modify your application.css:
*= require flipclockUsage
Check out the documentation at: http://flipclockjs.com/
Contributing
- Fork it ( http://github.com/TrevorS/flipclockjs-rails/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request