Go to file
junghwan-park 2892a685a9 2.2.7a 2017-02-01 19:03:05 +09:00
dev 2.2.7a 2017-02-01 19:03:05 +09:00
.eslintrc.js eslint 2016-04-06 21:55:29 -07:00
.gitignore Updating dependencies including eve 2016-09-29 22:35:05 -03:00
CONTRIBUTING.md pre-release v2.2.0 2016-04-12 19:42:33 -07:00
Gruntfile.js nodeps version 2015-08-02 12:47:14 -07:00
README.md Update the license link and the other Raphael link 2016-05-12 01:06:52 -04:00
bower.json Using custom repo for eve as all other repos are outdated 2016-10-02 15:48:35 -03:00
history.md Update history.md 2016-09-30 17:31:30 -03:00
license.txt Fixed negative scaling (hat tip to http://github.com/mal) 2010-08-19 11:12:51 +10:00
package.json 2.2.7a 2017-02-01 19:03:05 +09:00
raphael.js 2.2.7a 2017-02-01 19:03:05 +09:00
raphael.min.js 2.2.7a 2017-02-01 19:03:05 +09:00
raphael.no-deps.js 2.2.7a 2017-02-01 19:03:05 +09:00
raphael.no-deps.min.js 2.2.7a 2017-02-01 19:03:05 +09:00
webpack.config.js Using custom repo for eve as all other repos are outdated 2016-10-02 15:48:35 -03:00

README.md

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

Visit the library website for more information: http://raphaeljs.com http://dmitrybaranovskiy.github.io/raphael/

Quickstart guide

You need to have NPM installed to build the library.

  • git clone https://github.com/DmitryBaranovskiy/raphael.git
  • npm run start
  • npm run build

To run tests you need to open dev/test/index.html in your browser, there's no automated way right now.

Dependencies

Distributable

All files are UMD compliant.

You can use:

  • raphael.min.js (includes eve and it's minified)
  • raphael.js (includes eve and it's not minified)
  • raphael.no-deps.js (doesn't include eve it's not minified)
  • raphael.no-deps.min.js (doesn't include eve it's minified)

Where to start

Check Raphael-boilerplate to see examples of loading.

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

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

Development

Versions will be released as we gather and test new PRs. As there are a lot of browsers being supported it might take a while to accept a PR, we will use the feedback from other users too.

You can use the raphaelTest.html to try things, you need to start a server in the root dir to start testing things there. Something like running python -m SimpleHTTPServer in the raphael directory and hitting http://localhost:8000/dev/raphaelTest.html with the browser. You should run npm run start before this can work.

Collaborators

Books

Copyright © 2008-2013 Dmitry Baranovskiy (http://dmitrybaranovskiy.github.io/raphael/)

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

Licensed under the MIT (http://dmitrybaranovskiy.github.io/raphael/license.html) license.