mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 04:31:10 +08:00
Deprecates global use of Discourse.MessageBus
We can use DI for this, which makes it easier for plugins to subscribe to the message bus.
This commit is contained in:
@ -62,7 +62,7 @@ sinon.config = {
|
||||
window.assetPath = function() { return null; };
|
||||
|
||||
// Stop the message bus so we don't get ajax calls
|
||||
Discourse.MessageBus.stop();
|
||||
window.MessageBus.stop();
|
||||
|
||||
// Trick JSHint into allow document.write
|
||||
var d = document;
|
||||
|
Reference in New Issue
Block a user