backbone.layoutmanager.js
function($root, $el, rentManager, manager) {
    var $filtered;

    // If selector is specified, attempt to find it.
    if (manager.selector) {
      if (rentManager.noel) {
        $filtered = $root.filter(manager.selector);
        $root = $filtered.length ? $filtered : $root.find(manager.selector);
      } else {
        $root = $root.find(manager.selector);
      }
    }

    // Use the insert method if the parent's `insert` argument is true.
    if (rentManager.insert) {
      this.insert($root, $el);
    } else {
      this.html($root, $el);
    }
  }
function($root, $el, rentManager, manager) {
    var $filtered;

    // If selector is specified, attempt to find it.
    if (manager.selector) {
      if (rentManager.noel) {
        $filtered = $root.filter(manager.selector);
        $root = $filtered.length ? $filtered : $root.find(manager.selector);
      } else {
        $root = $root.find(manager.selector);
      }
    }

    // Use the insert method if the parent's `insert` argument is true.
    if (rentManager.insert) {
      this.insert($root, $el);
    } else {
      this.html($root, $el);
    }
  }
function ( $root , $el , rentManager , manager ) { var $filtered ; // If selector is specified, attempt to find it. if ( manager . selector ) { if ( rentManager . noel ) { $filtered = $root . filter ( manager . selector ) ; $root = $filtered . length ? $filtered : $root . find ( manager . selector ) ; } else { $root = $root . find ( manager . selector ) ; } } // Use the insert method if the parent's `insert` argument is true. if ( rentManager . insert ) { this . insert ( $root , $el ) ; } else { this . html ( $root , $el ) ; } }
This is the most common way you will want to partially apply a view into a layout.
This is the most common way you will want to partially apply a view into a layout .