mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 03:16:41 +08:00
typos (#7716)
This commit is contained in:
parent
6d02dd6d8c
commit
60c073ae59
|
@ -156,7 +156,7 @@ QUnit.testDone(function() {
|
|||
server.shutdown();
|
||||
|
||||
// ensures any event not removed is not leaking between tests
|
||||
// most like in intialisers, other places (controller, component...)
|
||||
// most likely in intialisers, other places (controller, component...)
|
||||
// should be fixed in code
|
||||
var appEvents = window.Discourse.__container__.lookup("app-events:main");
|
||||
var events = appEvents.__proto__._events;
|
||||
|
@ -167,7 +167,7 @@ QUnit.testDone(function() {
|
|||
});
|
||||
});
|
||||
|
||||
// attempts to remove any subscribed message bug callback
|
||||
// attempts to remove any subscribed message bus callback
|
||||
window.MessageBus.callbacks.forEach(function(callback) {
|
||||
window.MessageBus.unsubscribe(callback.channel, callback.func);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user