Visit the library website for more information: http://raphaeljs.com
You need to have NPM installed to build the library.
git clone https://github.com/DmitryBaranovskiy/raphael.git
npm install && ./node_modules/grunt-cli/bin/grunt
or just npm install && grunt
if you have grunt already installedYou have the raphael/raphael-min.js
files that has eve
bundled inside, and raphael-nodeps/raphael-nodeps-min.js
where eve
must be loaded by you first (you can try with the one in the dev/
folder).
For AMD loading like Browserify, you can use raphael.amd.js.
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 );
});
Versions will be released as we gather and test new PRs. Each version should have a correspondent branch. As there are not automated tests, we will use the feedback from the users for the fixes.
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.
Copyright © 2008-2013 Dmitry Baranovskiy (http://raphaeljs.com)
Copyright © 2008-2013 Sencha Labs (http://sencha.com)
Licensed under the MIT (http://raphaeljs.com/license.html) license.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。