This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/tests/unit/services
David Taylor 275849771f
DEV: Emit a 'change' event when PresenceChannel info changes (#17088)
e.g.

```
presenceChannel = this.presence.getChannel('/blah');
presenceChannel.subscribe();
presenceChannel.on('change', (channel) => console.log(channel.users));
```

This commit also does some refactoring to remove the use of an unnecessary EmberObject and dynamic `defineProperty` call
2022-06-15 16:13:44 +01:00
..
current-user-test.js FIX: currentUser was missing appEvents (#11758) 2021-01-19 14:37:21 -05:00
document-title-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
presence-test.js DEV: Emit a 'change' event when PresenceChannel info changes (#17088) 2022-06-15 16:13:44 +01:00
screen-track-test.js FEATURE: cache last post number (#15772) 2022-02-10 13:09:28 +11:00
store-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00