Skip to content

Commit

Permalink
fixed example
Browse files Browse the repository at this point in the history
  • Loading branch information
pshihn committed Jan 7, 2019
1 parent 4f32467 commit 7c616c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/examples/us-map-svg.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h2>RoughJS Map with D3.js using WebWorker (SVG)</h2>
<script>
const svg = document.getElementById('svg');
const rc = rough.svg(svg, {
workerURL: 'https://rawgit.com/pshihn/rough/master/dist/worker.js',
workerURL: './worker.js',
options: {
simplification: 0.2, roughness: 0.65
}
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/us-map.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h2>RoughJS Map with D3.js using WebWorker (Canvas)</h2>

<script>
const rc = rough.canvas(document.getElementById('canvas'), {
workerURL: 'https://rawgit.com/pshihn/rough/master/dist/worker.js',
workerURL: './worker.js',
options: {
simplification: 0.2, roughness: 0.65
}
Expand Down

0 comments on commit 7c616c8

Please sign in to comment.