Skip to content

Commit

Permalink
relative markedWorker.js
Browse files Browse the repository at this point in the history
Co-Authored-By: UziTech <tony@brix.ninja>
  • Loading branch information
styfle and UziTech committed Apr 27, 2019
1 parent 85e9917 commit eb69172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/USING_ADVANCED.md
Expand Up @@ -138,7 +138,7 @@ onmessage = (e) => {
```js
// script.js

const markedWorker = new Worker('markedWorker.js');
const markedWorker = new Worker('./markedWorker.js');

const markedTimeout = setTimeout(() => {
markedWorker.terminate();
Expand Down

0 comments on commit eb69172

Please sign in to comment.