backbone.layoutmanager.js
function(fn) {
    var views;

    // Allow an optional selector or function to find the right model and
    // remove nested Views based off the results of the selector or filter.
    views = this.getViews(fn).each(function(nestedView) {
      nestedView.remove();
    });

    // call value incase the chain is evaluated lazily to ensure the views get
    // removed
    views.value();

    return views;
  }
function(fn) {
    var views;

    // Allow an optional selector or function to find the right model and
    // remove nested Views based off the results of the selector or filter.
    views = this.getViews(fn).each(function(nestedView) {
      nestedView.remove();
    });

    // call value incase the chain is evaluated lazily to ensure the views get
    // removed
    views.value();

    return views;
  }
function ( fn ) { var views ; // Allow an optional selector or function to find the right model and // remove nested Views based off the results of the selector or filter. views = this . getViews ( fn ) . each ( function ( nestedView ) { nestedView . remove ( ) ; } ) ; // call value incase the chain is evaluated lazily to ensure the views get // removed views . value ( ) ; return views ; }
Use this to remove Views, internally uses `getViews` so you can pass the same argument here as you would to that method.
Use this to remove Views internally uses getViews so you can pass the same argument here as you would to that method .