[go: nahoru, domu]

Skip to content

suprraz/raphael

 
 

Repository files navigation

Raphaël: Cross-browser vector graphics the easy way.

Visit the library website for more information: http://raphaeljs.com

Quickstart guide

  • git clone https://github.com/DmitryBaranovskiy/raphael.git
  • git submodule init && git submodule update && npm install (thank you Wes Tood)

Dependencies

Loading

Raphael can be loaded in a script tag or with AMD:

define([ "raphael" ], function( Raphael ) {
  console.log( Raphael );
});

To place raphael in a directory that is not your AMD's loader's base URL, adjust the path to raphael.

// requirejs syntax
require.config({
  paths: {
    raphael: "libs/raphael"
  }
});

Development

At the moment we have 4 milestones:

v2.1.1

Milestone for bug fixes contributed by the community.

v2.2.0

Milestone for enhancements from contributors pull requests.

v2.2.1

Milestone with bug fixes added from issues created by community. This fixes were not provided in the issues.

v2.3.0

Milestone with enhancements suggested in issues but not provided by community at those issues.

We are organizing the current issues between this milestones, setting the grounds for people to contribute and start pushing code soon.

Want to contribute?

All changes in code must go to raphael.core, raphael.svg or raphael.vml. raphael.js is a generated file.

After adding your changes, execute ./make, the minified version will be created, commit and you are ready to make a pull request!

Found an issue?

First search for similar issues to make sure you don't repeat an existing one.

Then please create a fiddle (boilerplate) recreating the bug so we can find out what the problem is more easily (or be a hero and find it yourself and send a pull request!). You can also use the raphael playground to reproduce your issues.

Remember to add all the info that can be useful such as

  • error details
  • steps to reproduce
  • browser and its version
  • any suggestion of what do you think the problem could be

Collaborators

Copyright and license

Copyright © 2008-2012 Dmitry Baranovskiy (http://raphaeljs.com)

Copyright © 2008-2012 Sencha Labs (http://sencha.com)

Licensed under the MIT (http://raphaeljs.com/license.html) license.

About

JavaScript Vector Library

Resources

License

Stars

Watchers

Forks

Packages

No packages published