mirror of https://github.com/pyodide/pyodide.git
Update docs/using_pyodide_from_webworker.md
Co-Authored-By: jstafford <jason.stafford@scrycollective.com>
This commit is contained in:
parent
9e949d9665
commit
770cca23c0
|
@ -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`
|
||||
|
|
Loading…
Reference in New Issue