mirror of
https://github.com/discourse/discourse.git
synced 2025-02-02 11:23:17 +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. |
||
---|---|---|
.. | ||
admin | ||
confirm-new-email | ||
discourse | ||
discourse-common | ||
discourse-ensure-deprecation-order | ||
discourse-hbr | ||
discourse-widget-hbs | ||
docs | ||
ember-addons | ||
locales | ||
pretty-text | ||
select-kit | ||
truth-helpers | ||
wizard | ||
.licensee.json | ||
.npmrc | ||
admin-plugins.js.erb | ||
handlebars-shim.js | ||
markdown-it-bundle.js | ||
mini-loader.js | ||
package.json | ||
polyfills.js | ||
pretty-text-bundle.js | ||
service-worker.js.erb | ||
yarn.lock |