- updated dependencies - `@fortawesome/fontawesome-free` to 5.10.2 - `@fullcalendar/bootstrap` to 4.3.0 - `@fullcalendar/core` to 4.3.1 - `@fullcalendar/daygrid` to 4.3.0 - `@fullcalendar/interaction` to 4.3.0 - `@fullcalendar/timegrid` to 4.3.0 - `bootstrap-slider` to 10.6.2 - `flot` to 3.2.9 - `overlayscrollbars` to 1.9.1 - `raphael` to 2.3.0 - `select2` to 4.0.10 - `sweetalert2` to 8.16.3 - replaced dependencies - `jqvmap` with `jqvmap-novulnerability` (removes git requirement on `npm i`) - added new dependencies - `datatables.net-autofill-bs4` to 2.3.3 - `datatables.net-bs4` to 1.10.19 - `datatables.net-buttons-bs4` to 1.5.6 - `datatables.net-colreorder-bs4` to 1.5.1 - `datatables.net-fixedcolumns-bs4` to 3.2.6 - `datatables.net-fixedheader-bs4` to 3.1.5 - `datatables.net-keytable-bs4` to 2.5.0 - `datatables.net-responsive-bs4` to 2.2.3 - `datatables.net-rowgroup-bs4` to 1.1.0 - `datatables.net-rowreorder-bs4` to 1.2.5 - `datatables.net-scroller-bs4` to 2.0.0 - `datatables.net-select-bs4` to 1.3.0 - `jszip` to 3.2.2 - `pdfmake` to 0.1.58 - updated devDependencies - `@babel/cli` to 7.5.5 - `@babel/core` to 7.5.5 - `@babel/preset-env` to 7.5.5 - `css-loader` to 3.2.0 - `rollup"` to .20.2 - `terser` to 4.2.1 - removed old plugins - `morris`
76 lines
2.7 KiB
Markdown
76 lines
2.7 KiB
Markdown
# Raphaël: Cross-browser vector graphics the easy way
|
|
|
|
Visit the library website for more information: ~~[http://raphaeljs.com](http://raphaeljs.com/)~~ [https://dmitrybaranovskiy.github.io/raphael/](https://dmitrybaranovskiy.github.io/raphael/)
|
|
|
|
## Quickstart guide
|
|
|
|
You need to have NPM installed to build the library.
|
|
|
|
* `git clone https://github.com/DmitryBaranovskiy/raphael.git`
|
|
* `yarn install --frozen-lockfile`
|
|
* `yarn build-all`
|
|
|
|
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.
|
|
|
|
## Dependencies
|
|
|
|
* [eve](https://github.com/adobe-webplatform/eve)
|
|
|
|
## 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](https://github.com/tomasAlabes/raphael-boilerplate) to see examples of loading.
|
|
|
|
Raphael can be loaded in a script tag or with AMD:
|
|
|
|
```js
|
|
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
|
|
|
|
* [tomasAlabes](https://github.com/tomasAlabes)
|
|
|
|
## Related Projects
|
|
|
|
* [graphael](https://github.com/DmitryBaranovskiy/g.raphael/tree/master)
|
|
* [raphael.boilerplate](https://github.com/tomasAlabes/raphael-boilerplate)
|
|
* [backbone.raphael](https://github.com/tomasAlabes/backbone.raphael)
|
|
* [mapael](https://github.com/neveldo/jQuery-Mapael)
|
|
* [snap](https://github.com/adobe-webplatform/Snap.svg)
|
|
* [react-raphael](https://github.com/liuhong1happy/react-raphael)
|
|
|
|
## Books
|
|
|
|
* [Learning Raphael JS Vector Graphics](http://shop.oreilly.com/product/9781782169161.do)
|
|
* [RaphaelJS](http://shop.oreilly.com/product/0636920029601.do)
|
|
* [Instant RaphaelJS Starter](http://shop.oreilly.com/product/9781782169857.do)
|
|
|
|
## Copyright and license
|
|
|
|
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.
|