Skip to content

Commit

Permalink
Bump and build v4
Browse files Browse the repository at this point in the history
With changelog and other v4 doc updates.
  • Loading branch information
paulfalgout committed Aug 6, 2018
1 parent 845b625 commit ec2f456
Show file tree
Hide file tree
Showing 13 changed files with 2,026 additions and 4,752 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": "The Backbone Framework",
"homepage": "https://marionettejs.com/",
"main": "./lib/backbone.marionette.js",
"version": "3.5.1",
"version": "4.0.0",
"license": "MIT",
"keywords": [
"backbone",
Expand Down
15 changes: 15 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
### v4.0.0 [view commit logs](https://github.com/marionettejs/backbone.marionette/compare/v3.5.1...v4.0.0)

#### Breaking Changes
The breaking changes are documented in the [upgrade guide](https://marionettejs.com/docs/v4.0.0/upgrade-v3-v4.html).

#### Features
* `CollectionView` can now render a template in the same fashion of the removed `CompositeView`.
* `View#triggers` now passes the originating DOM event object as the final argument of the triggered Mn event.
* View classes now have the `bindRequests` and `unbindRequests` API.
* The ES6 package was exposed in `package.json` on `jsnext:main`
* The underscore dependency was updated to include 1.8.3 - 1.9.x.

#### Documentation
The documentation structure was overhauled to provide a flow to reading through the docs.

### v3.5.1 [view commit logs](https://github.com/marionettejs/backbone.marionette/compare/v3.5.0...v3.5.1)

#### Fixes
Expand Down
1 change: 0 additions & 1 deletion docs/dom.prerendered.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { View } from 'backbone.marionette';

const myView = new View({ el: $('#foo-selector') });

const myView = new MyView();
myView.isRendered(); // true if '#foo-selector` exists and has content
myView.isAttached(); // true if '#foo-selector` is in the DOM
```
Expand Down
6 changes: 3 additions & 3 deletions docs/marionette.region.md
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ const EmptyMsgRegion = Region.extend({
}
});
```
[Live example](https://jsfiddle.net/marionettejs/c1nacq0c/1/)
[Live example](https://jsfiddle.net/marionettejs/c1nacq0c/)

## Set How View's `el` Is Attached and Detached

Expand Down Expand Up @@ -615,8 +615,8 @@ const MyView = View.extend({
});
```

[Live example](https://jsfiddle.net/marionettejs/c1nacq0c/3/)
[Live example](https://jsfiddle.net/marionettejs/qtvjLu70/)

Using a similar approach is possible to create a region animated with CSS:

[Live example](https://jsfiddle.net/marionettejs/9ys4d57x/2/)
[Live example](https://jsfiddle.net/marionettejs/8uoabg7c/)
Loading

0 comments on commit ec2f456

Please sign in to comment.