Packages up the JCanvas JavaScript drawing library for the Rails asset pipeline.
Rails: 3.2 and up
jquery-jcanvas-rails
15.02.07 includes jquery.jcanvas
v15.02.07
Add this line to your application's Gemfile:
gem 'jquery-jcanvas-rails', git: "https://github.com/danielRomero/jquery-jcanvas-rails.git"
And then execute:
$ bundle
Or install it yourself as:
$ gem install jquery-jcanvas-rails
Just add a require 'jcanvas'
towards the top of your source in the usual fashion.
For Coffeescript
#= require 'jcanvas'
For JavaScript
//= require 'jcanvas'
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
http://calebevans.me/projects/jcanvas/