Skip to content

Commit

Permalink
V2.3.1 bump and build
Browse files Browse the repository at this point in the history
  • Loading branch information
samccone committed Jan 14, 2015
1 parent a53cc47 commit 027e0b0
Show file tree
Hide file tree
Showing 9 changed files with 174 additions and 233 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Make your Backbone.js apps dance with a composite application architecture!",
"homepage": "http://marionettejs.org",
"main": "./lib/core/backbone.marionette.js",
"version": "2.3.0",
"version": "2.3.1",
"keywords": [
"backbone",
"framework",
Expand Down
28 changes: 28 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
### v2.3.1 [view commit logs](https://github.com/marionettejs/backbone.marionette/compare/v2.3.0...v2.3.1)

#### 2.3.1 in overview:

##### Features

* Regions can set a `parentEl` as a way of specifying the DOM tree (default `body`) that they are scoped with. (useful for instance in `LayoutView`).

```js
var region = new Region({parentEl: $(“#sub-tree”)})
```

##### Bug Fixes

* Layout region lookups are now scoped to the layout and not to the entire DOM.

* Calling `delegateEvents` after the `ui` hash has been modified now works.

* Prevent unsetting event listeners on region swap when a view is swapped out from a region, but not destroyed, its DOM events will not be removed.

* A view's `isDestroyed` state is now explicitly set to `false` when the view is created.

##### Refactors

* Added `Marionette._getValue`. This method is similar to `_.result`. If a function is provided we call it with context otherwise just return the value. If the value is undefined return a default value. This method is private and should not be used directly in your code.

* Various other code refactors.

### v2.3.0 [view commit logs](https://github.com/marionettejs/backbone.marionette/compare/v2.2.2...v2.3.0)

#### 2.3.0 in overview:
Expand Down
Loading

0 comments on commit 027e0b0

Please sign in to comment.