Skip to content

Commit 6d37c18

Browse files
styfleUziTech
andauthored
Update docs/USING_ADVANCED.md
Co-Authored-By: UziTech <tony@brix.ninja>
1 parent b551b88 commit 6d37c18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/USING_ADVANCED.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ markedWorker.postMessage(markdownString);
122122

123123
importScripts('path/to/marked.min.js');
124124

125-
onmessage = function (markdownString) {
125+
onmessage = (markdownString) => {
126126
postMessage(marked(markdownString));
127127
};
128128
```

0 commit comments

Comments
 (0)