Skip to content

Packages up the JCanvas JavaScript drawing library for the Rails asset pipeline.

License

Notifications You must be signed in to change notification settings

yusdirman/jquery-jcanvas-rails

 
 

Repository files navigation

jquery-jcanvas-rails

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

Installation

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

Usage

Just add a require 'jcanvas' towards the top of your source in the usual fashion.

For Coffeescript

#= require 'jcanvas'

For JavaScript

//= require 'jcanvas'

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Original jCanvas project from Caleb Evans

http://calebevans.me/projects/jcanvas/

About

Packages up the JCanvas JavaScript drawing library for the Rails asset pipeline.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 75.7%
  • HTML 10.1%
  • Shell 9.0%
  • JavaScript 2.8%
  • CSS 2.4%