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:
$ bundle
Or install it yourself as:
$ gem install flipclockjs-rails
Add the following to your JavaScript manifest file (application.js
):
//= require flipclock.min
Add 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 flipclock
Usage
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