Skip to content

Commit dd68b6e

Browse files
committed
Make clear how to use shipped examples. See #97.
1 parent 8d0f672 commit dd68b6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var canvas = document.getElementById("canvas");
2525
rasterizeHTML.drawHTML('Some <span style="color: green; font-size: 20px;">HTML</span> with an image <img src="someimg.png" />', canvas);
2626
```
2727

28-
See [the examples page](https://github.com/cburgmer/rasterizeHTML.js/wiki/Examples) and [the examples shipped with the code](https://github.com/cburgmer/rasterizeHTML.js/tree/master/examples).
28+
See [the examples page](https://github.com/cburgmer/rasterizeHTML.js/wiki/Examples). The code also [ships with examples](https://github.com/cburgmer/rasterizeHTML.js/tree/master/examples), make sure to run `npm test` first to compile the library.
2929

3030
How does it work
3131
----------------
@@ -50,7 +50,7 @@ Also the individual browsers still have some issues when rendering SVGs with emb
5050
Development
5151
-----------
5252

53-
Run `npm install && npm test`. There's also a vagrant image that installs all necessary build dependencies.
53+
Run `npm test`. There's also a vagrant image that installs all necessary build dependencies.
5454

5555
For tests against individual browsers open `test/SpecRunner.html`, for integration tests under Safari open `test/manualIntegrationTestForWebkit.html` (under Chrome you will either need to start the browser passing in the option `--allow-file-access-from-files` or load the page through a local webserver).
5656

0 commit comments

Comments
 (0)