Debian Codegraph @

README.md

raw symbols SCIP
1 # Raphaël: Cross-browser vector graphics the easy way
2
3 Visit the library website for more information: ~~[http://raphaeljs.com](http://raphaeljs.com/)~~ [https://dmitrybaranovskiy.github.io/raphael/](https://dmitrybaranovskiy.github.io/raphael/)
4
5 ## Quickstart guide
6
7 You need to have NPM installed to build the library.
8
9 * `git clone https://github.com/DmitryBaranovskiy/raphael.git`
10 * `yarn install --frozen-lockfile`
11 * `yarn build-all`
12
13 To run tests you need to run `npx bower install` open `dev/test/index.html` in your browser, there's no automated way right now.
14
15 ## Dependencies
16
17 * [eve](https://github.com/adobe-webplatform/eve)
18
19 ## Distributable
20
21 All files are UMD compliant.
22
23 You can use:
24
25 * `raphael.min.js` (includes `eve` and it's minified)
26 * `raphael.js` (includes `eve` and it's not minified)
27 * `raphael.no-deps.js` (doesn't include `eve` it's not minified)
28 * `raphael.no-deps.min.js` (doesn't include `eve` it's minified)
29
30 ## Where to start
31
32 Check [Raphael-boilerplate](https://github.com/tomasAlabes/raphael-boilerplate) to see examples of loading.
33
34 Raphael can be loaded in a script tag or with AMD:
35
36 ```js
37 define([ "path/to/raphael" ], function( Raphael ) {
38 console.log( Raphael );
39 });
40 ```
41
42 ## Development
43
44 Versions will be released as we gather and test new PRs.
45 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.
46
47 You can use the `raphaelTest.html` to try things, you need to start a server in the root dir to start testing things there.
48 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.
49
50 ## Collaborators
51
52 * [tomasAlabes](https://github.com/tomasAlabes)
53
54 ## Related Projects
55
56 * [graphael](https://github.com/DmitryBaranovskiy/g.raphael/tree/master)
57 * [raphael.boilerplate](https://github.com/tomasAlabes/raphael-boilerplate)
58 * [backbone.raphael](https://github.com/tomasAlabes/backbone.raphael)
59 * [mapael](https://github.com/neveldo/jQuery-Mapael)
60 * [snap](https://github.com/adobe-webplatform/Snap.svg)
61 * [react-raphael](https://github.com/liuhong1happy/react-raphael)
62
63 ## Books
64
65 * [Learning Raphael JS Vector Graphics](http://shop.oreilly.com/product/9781782169161.do)
66 * [RaphaelJS](http://shop.oreilly.com/product/0636920029601.do)
67 * [Instant RaphaelJS Starter](http://shop.oreilly.com/product/9781782169857.do)
68
69 ## Copyright and license
70
71 Copyright © 2008-2013 Dmitry Baranovskiy (`http://dmitrybaranovskiy.github.io/raphael/`)
72
73 Copyright © 2008-2013 Sencha Labs (`http://sencha.com`)
74
75 Licensed under the **MIT** (`http://dmitrybaranovskiy.github.io/raphael/license.html`) license.