ruffle/web/packages
relrelb 1accf2d8f9 web: Make `SourceAPI` a singleton
As a first step towards a simpler Web API, convert `SourceAPI` from
a class to a constant object, under the assumption that `SourceAPI`
isn't a public Ruffle API and as such is safe to be changed.

As a result the different `ruffle-core` users don't need to construct
a new `SourceAPI` instance before calling `PublicAPI.negotiate()`.
2022-07-23 10:37:33 -07:00
..
core web: Make `SourceAPI` a singleton 2022-07-23 10:37:33 -07:00
demo web: Make `SourceAPI` a singleton 2022-07-23 10:37:33 -07:00
extension web: Make `SourceAPI` a singleton 2022-07-23 10:37:33 -07:00
selfhosted web: Make `SourceAPI` a singleton 2022-07-23 10:37:33 -07:00