You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to add a new API you must manually add it to the global object after creating a context. Rquickjs currently has no support doing this for you.
I'm implementing some API from Web standard, and I often use this:
I tried to do this:
But it doesn't work. What is the proper way to add https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder and https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder into the global context during initialization?
The text was updated successfully, but these errors were encountered: