Skip to content

Commit 08d1ff1

Browse files
committed
bump and build v1.7.2
1 parent b96072d commit 08d1ff1

12 files changed

+21
-16
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"./lib/backbone.marionette.js",
77
"./lib/core/amd/backbone.marionette.js"
88
],
9-
"version": "1.7.1",
9+
"version": "1.7.2",
1010
"keywords": [
1111
"backbone",
1212
"framework",

changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
### v1.7.2 [view commit logs](https://github.com/marionettejs/backbone.marionette/compare/v1.7.1...v1.7.2)
2+
3+
* Fixes
4+
* Binds behavior events to the behavior instance, as compared to the view.
5+
16
### v1.7.1 [view commit logs](https://github.com/marionettejs/backbone.marionette/compare/v1.7.0...v1.7.1)
27

38
* Fixes

component.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "backbone.marionette",
33
"description": "Make your Backbone.js apps dance!",
4-
"version": "1.7.1",
4+
"version": "1.7.2",
55
"repo": "marionettejs/backbone.marionette",
66
"main": "lib/core/amd/backbone.marionette.js",
77
"keywords": [

lib/backbone.marionette.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// MarionetteJS (Backbone.Marionette)
22
// ----------------------------------
3-
// v1.7.1
3+
// v1.7.2
44
//
55
// Copyright (c)2014 Derick Bailey, Muted Solutions, LLC.
66
// Distributed under MIT license
@@ -2276,7 +2276,7 @@ Marionette.Behaviors = (function(Marionette, _) {
22762276
var eventKey = key + whitespace;
22772277
var handler = _.isFunction(behaviorEvents[key]) ? behaviorEvents[key] : b[behaviorEvents[key]];
22782278

2279-
_events[eventKey] = handler;
2279+
_events[eventKey] = _.bind(handler, b);
22802280
});
22812281

22822282
_behaviorsEvents = _.extend(_behaviorsEvents, _events);

lib/backbone.marionette.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/backbone.marionette.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.

lib/core/amd/backbone.marionette.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// MarionetteJS (Backbone.Marionette)
22
// ----------------------------------
3-
// v1.7.1
3+
// v1.7.2
44
//
55
// Copyright (c)2014 Derick Bailey, Muted Solutions, LLC.
66
// Distributed under MIT license
@@ -1866,7 +1866,7 @@ Marionette.Behaviors = (function(Marionette, _) {
18661866
var eventKey = key + whitespace;
18671867
var handler = _.isFunction(behaviorEvents[key]) ? behaviorEvents[key] : b[behaviorEvents[key]];
18681868

1869-
_events[eventKey] = handler;
1869+
_events[eventKey] = _.bind(handler, b);
18701870
});
18711871

18721872
_behaviorsEvents = _.extend(_behaviorsEvents, _events);

lib/core/amd/backbone.marionette.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.

lib/core/backbone.marionette.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1830,7 +1830,7 @@ Marionette.Behaviors = (function(Marionette, _) {
18301830
var eventKey = key + whitespace;
18311831
var handler = _.isFunction(behaviorEvents[key]) ? behaviorEvents[key] : b[behaviorEvents[key]];
18321832

1833-
_events[eventKey] = handler;
1833+
_events[eventKey] = _.bind(handler, b);
18341834
});
18351835

18361836
_behaviorsEvents = _.extend(_behaviorsEvents, _events);

lib/core/backbone.marionette.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/core/backbone.marionette.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.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "backbone.marionette",
33
"description": "Make your Backbone.js apps dance!",
4-
"version": "1.7.1",
4+
"version": "1.7.2",
55
"homepage": "https://github.com/marionettejs/backbone.marionette",
66
"main": "lib/core/amd/backbone.marionette.js",
77
"keywords": [

0 commit comments

Comments
 (0)