pablof7z / chardin.js-rails

Rails support for Chardin.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chardin.js-rails

Chardin.js for rails asset pipeline

Chardin.js provides a simple overlay instructions for your apps.

Usage

Install chardinjs-rails gem

Add chardinjs-rails to your Gemfile and run bundle install:

group :assets do
  gem "chardinjs-rails"
end

Include chardinjs-rails javascript assets

Add the following to your app/assets/javascripts/application.js:

 //= require chardinjs

Include chardinjs-rails stylesheet assets

Add to your app/assets/stylesheets/application.css:

 *= require chardinjs

Version

chardinjs-rails tracks Chardin.js's versions.

Contributions

If you want to contribute, please:

  • Fork the project.
  • Make your feature addition or bug fix.
  • Send me a pull request on Github.

Copyright

MIT Licensed

Copyright (c) 2013 Pablo Fernandez. See LICENSE for details.

About

Rails support for Chardin.js

License:MIT License


Languages

Language:Ruby 53.8%Language:CSS 46.2%