mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 08:32:26 +08:00
96abd72387
This will allow consumers to inject it using `messageBus: service()` in preparation for the removal of implicit injections in Ember 4.0. `message-bus:main` is still available and will print a deprecation notice. The MessageBus library is not en ember object, and doesn't need access to any of our injections. Therefore, we can set up a simple class which defines itself as a 'Service Factory', and returns the MessageBus library in the `create` method. |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |