Skip to content

Expose a "js" module and a small pyodide polyfill - #54

Merged
DerThorsten merged 6 commits into
emscripten-forge:mainfrom
martinRenou:js_module
Feb 6, 2024
Merged

DerThorsten merged 6 commits into
emscripten-forge:mainfrom
martinRenou:js_module

Conversation

@martinRenou

Copy link
Copy Markdown
Member

No description provided.

@martinRenou
martinRenou marked this pull request as draft February 6, 2024 10:12
@martinRenou martinRenou changed the title Expose as "js" module Expose a "js" module and a small pyodide polyfill Feb 6, 2024
@martinRenou
martinRenou marked this pull request as ready for review February 6, 2024 10:29
@DerThorsten

Copy link
Copy Markdown
Collaborator

we should add some basic test

@DerThorsten

Copy link
Copy Markdown
Collaborator

pyjs._module._IS_BROWSER_MAIN_THREAD / pyjs._module._IS_BROWSER_WORKER_THREAD could help to figure out if the tests are run in main / vs worker

@DerThorsten

Copy link
Copy Markdown
Collaborator

@martinRenou I added some tiny changes to (hopefully) fix the tests

@DerThorsten
DerThorsten merged commit f420f59 into emscripten-forge:main Feb 6, 2024
@martinRenou
martinRenou deleted the js_module branch February 6, 2024 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants