mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 08:09:33 +08:00
typos (#7716)
This commit is contained in:
parent
6d02dd6d8c
commit
60c073ae59
|
@ -156,7 +156,7 @@ QUnit.testDone(function() {
|
||||||
server.shutdown();
|
server.shutdown();
|
||||||
|
|
||||||
// ensures any event not removed is not leaking between tests
|
// 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
|
// should be fixed in code
|
||||||
var appEvents = window.Discourse.__container__.lookup("app-events:main");
|
var appEvents = window.Discourse.__container__.lookup("app-events:main");
|
||||||
var events = appEvents.__proto__._events;
|
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.callbacks.forEach(function(callback) {
|
||||||
window.MessageBus.unsubscribe(callback.channel, callback.func);
|
window.MessageBus.unsubscribe(callback.channel, callback.func);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user