Skip to content

Commit

Permalink
[minor] LayoutView._reInitializeRegions simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
megawac authored and samccone committed Dec 17, 2014
1 parent 94e004b commit f06472b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/layout-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,7 @@ Marionette.LayoutView = Marionette.ItemView.extend({
// Internal method to re-initialize all of the regions by updating the `el` that
// they point to
_reInitializeRegions: function() {
this.regionManager.each(function(region) {
region.reset();
});
this.regionManager.invoke('reset');
},

// Enable easy overriding of the default `RegionManager`
Expand Down

0 comments on commit f06472b

Please sign in to comment.