backbone.layoutmanager.js
function(root, force) {
    // Shift arguments around.
    if (typeof root === "boolean") {
      force = root;
      root = this;
    }

    // Allow removeView to be called on instances.
    root = root || this;

    // Iterate over all of the nested View's and remove.
    root.getViews().each(function(view) {
      // Force doesn't care about if a View has rendered or not.
      if (view.hasRendered || force) {
        LayoutManager._removeView(view, force);
      }

    // call value() in case this chain is evaluated lazily
    }).value();
  }
function(root, force) {
    // Shift arguments around.
    if (typeof root === "boolean") {
      force = root;
      root = this;
    }

    // Allow removeView to be called on instances.
    root = root || this;

    // Iterate over all of the nested View's and remove.
    root.getViews().each(function(view) {
      // Force doesn't care about if a View has rendered or not.
      if (view.hasRendered || force) {
        LayoutManager._removeView(view, force);
      }

    // call value() in case this chain is evaluated lazily
    }).value();
  }
function ( root , force ) { // Shift arguments around. if ( typeof root === "boolean" ) { force = root ; root = this ; } // Allow removeView to be called on instances. root = root || this ; // Iterate over all of the nested View's and remove. root . getViews ( ) . each ( function ( view ) { // Force doesn't care about if a View has rendered or not. if ( view . hasRendered || force ) { LayoutManager . _removeView ( view , force ) ; } // call value() in case this chain is evaluated lazily } ) . value ( ) ; }
Remove all nested Views.
Remove all nested Views .