Skip to content

Commit

Permalink
v0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesplease committed Oct 27, 2014
1 parent 4442fbe commit ccb3468
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 10 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### [0.8.1](https://github.com/jmeas/backbone.radio/releases/tag/v0.8.1)

- **Bug fix**: Fixes bug where `stopComplying` and `stopReplying` would not remove the correct
callbacks in certain situations

### [0.8.0](https://github.com/jmeas/backbone.radio/releases/tag/v0.8.0)

- **Feature**: DEBUG now warns when an already-registered Command or Request is overwritten
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "backbone.radio",
"version": "0.8.0",
"version": "0.8.1",
"homepage": "https://github.com/marionettejs/backbone.radio",
"authors": [
"Jmeas <jellyes2@gmail.com>"
Expand Down
9 changes: 4 additions & 5 deletions build/backbone.radio.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Backbone.Radio v0.8.0
// Backbone.Radio v0.8.1
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define(['backbone', 'underscore'], function(Backbone, _) {
Expand All @@ -20,7 +20,7 @@

var Radio = Backbone.Radio = {};

Radio.VERSION = '0.8.0';
Radio.VERSION = '0.8.1';

// This allows you to run multiple instances of Radio on the same
// webapp. After loading the new version, call `noConflict()` to
Expand Down Expand Up @@ -95,9 +95,8 @@
function removeHandler(store, name, callback, context) {
var event = store[name];
if (
(!callback && !context) ||
callback && (callback === event.callback || callback === event.callback._callback) ||
context && context === event.context
(!callback || (callback === event.callback || callback === event.callback._callback)) &&
(!context || (context === event.context))
) {
delete store[name];
return true;
Expand Down
4 changes: 2 additions & 2 deletions build/backbone.radio.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ccb3468

Please sign in to comment.