Update docs/using_pyodide_from_webworker.md

Co-Authored-By: jstafford <jason.stafford@scrycollective.com>
This commit is contained in:
Michael Droettboom 2019-02-07 13:14:28 -08:00 committed by GitHub
parent 9e949d9665
commit 770cca23c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ Setup your project to serve `webworker.js`. You should also serve
files as well, though this is not strictly required if `pyodide.js` is pointing
to a site serving current versions of these files.
Update `webworker.js` so that it has as valid URL for `pyodide.js`, and sets
Update the `webworker.js` sample so that it has as valid URL for `pyodide.js`, and sets
`self.languagePluginUrl` to the location of the supporting files.
In your application code create a web worker, and add listeners for `onerror`