Skip to content

Commit ccb3468

Browse files
committed
v0.8.1
1 parent 4442fbe commit ccb3468

6 files changed

+14
-10
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
### [0.8.1](https://github.com/jmeas/backbone.radio/releases/tag/v0.8.1)
2+
3+
- **Bug fix**: Fixes bug where `stopComplying` and `stopReplying` would not remove the correct
4+
callbacks in certain situations
5+
16
### [0.8.0](https://github.com/jmeas/backbone.radio/releases/tag/v0.8.0)
27

38
- **Feature**: DEBUG now warns when an already-registered Command or Request is overwritten

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "backbone.radio",
3-
"version": "0.8.0",
3+
"version": "0.8.1",
44
"homepage": "https://github.com/marionettejs/backbone.radio",
55
"authors": [
66
"Jmeas <jellyes2@gmail.com>"

build/backbone.radio.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Backbone.Radio v0.8.0
1+
// Backbone.Radio v0.8.1
22
(function(root, factory) {
33
if (typeof define === 'function' && define.amd) {
44
define(['backbone', 'underscore'], function(Backbone, _) {
@@ -20,7 +20,7 @@
2020

2121
var Radio = Backbone.Radio = {};
2222

23-
Radio.VERSION = '0.8.0';
23+
Radio.VERSION = '0.8.1';
2424

2525
// This allows you to run multiple instances of Radio on the same
2626
// webapp. After loading the new version, call `noConflict()` to
@@ -95,9 +95,8 @@
9595
function removeHandler(store, name, callback, context) {
9696
var event = store[name];
9797
if (
98-
(!callback && !context) ||
99-
callback && (callback === event.callback || callback === event.callback._callback) ||
100-
context && context === event.context
98+
(!callback || (callback === event.callback || callback === event.callback._callback)) &&
99+
(!context || (context === event.context))
101100
) {
102101
delete store[name];
103102
return true;

build/backbone.radio.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)