Skip to content

Conversation

probityrules
Copy link

The current version doesn't work in webpack, since it tries to create a reference to Sound, but the initialization for Sound includes creating instances of other classes (such as AbstractAudioWrapper) that require a reference to Sound which has yet to be created. By re-ordering the export so that it is exported before it is initialized, a reference for Sound exists for those classes requiring it in Sound's _initialize() invocation.

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.

1 participant