Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support SpriteJS 3.x #2

Open
Tiuipuv opened this issue Jul 30, 2024 · 0 comments
Open

Support SpriteJS 3.x #2

Tiuipuv opened this issue Jul 30, 2024 · 0 comments

Comments

@Tiuipuv
Copy link

Tiuipuv commented Jul 30, 2024

Currently, this library only supports sprite 2.x. I attempted to rebuild with 3.x and newer babel + webpack, but it does not appear that spritejs.use() exists in 3.0. Is there any way to inject roughjs without spritejs.use?

The root problem that is requiring an upgrade is spritejs@2.x uses DOMNodeRemovedFromDocument, which is officially deprecated in chrome and edge v127.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant