backbone.radio
backbone.radio copied to clipboard
listenTo equivalents for Commands and Requests.
WIP
Resolves #117
- [x] Add stopListening equivalents
- [ ] Abstract logic to remove duplication
- [ ] Tests
- [x] Docs
Coverage decreased (-10.81%) when pulling f9a096a95fecc15d07f915a30d68277df9a3574a on listen-to-equivalent into 1ceb3920841c8d190d94f7913b8f6d5ad46879a0 on minor.
Seems like a lot of duplicate code in here
Yeah. I'll abstract it more after I've added tests to verify that the behavior is what I want.
Coverage remained the same when pulling 84b91721c9c7186bea4ce8c6589d380b19ee5d07 on listen-to-equivalent into ccb3468f89ade624e2a4cf5d72fc94506f89c945 on minor.
Note to future self: this is possibly blocked by https://github.com/marionettejs/backbone.radio/issues/162.