Skip to content

Commit 81a434e

Browse files
Update readme with build changes
1 parent 891eaa9 commit 81a434e

File tree

1 file changed

+6
-30
lines changed

1 file changed

+6
-30
lines changed

README.md

Lines changed: 6 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -11,46 +11,22 @@ You can [catch me on twitter](http://twitter.com/MrRio): [@MrRio](http://twitter
1111
See examples/basic.html. There's a live editor example at index.html.
1212

1313
```javascript
14-
1514
var doc = new jsPDF();
1615
doc.text(20, 20, 'Hello world.');
1716
doc.save('Test.pdf');
1817
```
1918

2019
**Head over to [jsPDF.com](http://jspdf.com) for details or [_here_](http://mrrio.github.io/jsPDF/) for our most recent live editor and examples.**
2120

22-
## Checking out the source
23-
24-
```bash
25-
git clone --recursive git://github.com/MrRio/jsPDF.git
26-
```
27-
28-
## Building
29-
30-
To build, simply run `npm run build`. This will fetch all npm and bower deps, then compile minified JS files.
31-
32-
## Running locally
33-
34-
Due to certain restrictions that local files have, you'll need to run a web server. Just run:
35-
36-
```
37-
npm start
38-
```
39-
40-
You can then access the site at localhost:8000
21+
## Contributing
22+
Build the library with `npm run build`. This will fetch all dependencies and then compile the `dist` files. To see the examples locally you can start a web server with `npm start` and go to `localhost:8000`.
4123

4224
## Credits
25+
- Big thanks to Daniel Dotsenko from [Willow Systems Corporation](http://willow-systems.com) for making huge contributions to the codebase.
26+
- Thanks to Ajaxian.com for [featuring us back in 2009](http://ajaxian.com/archives/dynamically-generic-pdfs-with-javascript).
27+
- Everyone else that's contributed patches or bug reports. You rock.
4328

44-
Big thanks to Daniel Dotsenko from [Willow Systems Corporation](http://willow-systems.com) for making huge contributions to the codebase.
45-
46-
Thanks to Ajaxian.com for [featuring us back in 2009](http://ajaxian.com/archives/dynamically-generic-pdfs-with-javascript).
47-
48-
Everyone else that's contributed patches or bug reports. You rock.
49-
50-
## License
51-
52-
(MIT License)
53-
29+
## License (MIT)
5430
Copyright (c) 2010-2016 James Hall, https://github.com/MrRio/jsPDF
5531

5632
Permission is hereby granted, free of charge, to any person obtaining

0 commit comments

Comments
 (0)