Skip to content

[cleanup] Remove exposed on/emit/off that were not working properly#755

Merged
dmarcos merged 1 commit intoaframevr:masterfrom
vincentfretin:remove-on-off-emit
Aug 29, 2024
Merged

[cleanup] Remove exposed on/emit/off that were not working properly#755
dmarcos merged 1 commit intoaframevr:masterfrom
vincentfretin:remove-on-off-emit

Conversation

@vincentfretin
Copy link
Contributor

@vincentfretin vincentfretin commented Aug 28, 2024

Remove exposed on/emit/off that were not working properly because of bad binding (see #754 for an explanation) so not used in the wild.
The this.on was there a long time ago, we introduced the this.off and this.emit in #719 but those weren't working.
@gregogalante you can still do your own build with #754 changes if you need that.

Instead of exposing the events publicly, let's keep it internal for now.
I want later to define documented commands that can be used instead (undo compatible).

@dmarcos
Copy link
Member

dmarcos commented Aug 29, 2024

Thanks

@dmarcos dmarcos merged commit 7e96cc9 into aframevr:master Aug 29, 2024
@vincentfretin vincentfretin deleted the remove-on-off-emit branch August 30, 2024 06:34
@vincentfretin vincentfretin mentioned this pull request Jan 13, 2025
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