Skip to content

Commit

Permalink
Merge pull request #3191 from jbarreiros/collectionview-doc-fix
Browse files Browse the repository at this point in the history
Upgrade doc: `getChildView` was removed in M3
  • Loading branch information
rafde committed Sep 18, 2016
2 parents 4da2b32 + 03c7ae1 commit b155582
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,15 @@ See [`CollectionView`](./marionette.collectionview.md#rendering-collectionviews)
for detail on upgrading to Marionette 3. This technique works in both Marionette
2.x and Marionette 3.

### Removing `CollectionView.getChildView()`

The `getChildView` method has been removed in favor of the `childView` property,
which now accepts a function.

#### Upgrading to Marionette 3

Simply replace all instances of `getChildView` with `childView`.

### Child event handlers

The `childEvents` attribute was renamed to `childViewEvents`.
Expand Down

0 comments on commit b155582

Please sign in to comment.