backbone.layoutmanager.js
function(options) {
    _.extend(LayoutManager.prototype, options);

    // Allow LayoutManager to manage Backbone.View.prototype.
    if (options.manage) {
      Backbone.View.prototype.manage = true;
    }

    // Disable the element globally.
    if (options.el === false) {
      Backbone.View.prototype.el = false;
    }

    // Allow global configuration of `suppressWarnings`.
    if (options.suppressWarnings === true) {
      Backbone.View.prototype.suppressWarnings = true;
    }

    // Allow global configuration of `useRAF`.
    if (options.useRAF === false) {
      Backbone.View.prototype.useRAF = false;
    }

    // Allow underscore to be swapped out
    if (options._) {
      _ = options._;
    }
  }
function(options) {
    _.extend(LayoutManager.prototype, options);

    // Allow LayoutManager to manage Backbone.View.prototype.
    if (options.manage) {
      Backbone.View.prototype.manage = true;
    }

    // Disable the element globally.
    if (options.el === false) {
      Backbone.View.prototype.el = false;
    }

    // Allow global configuration of `suppressWarnings`.
    if (options.suppressWarnings === true) {
      Backbone.View.prototype.suppressWarnings = true;
    }

    // Allow global configuration of `useRAF`.
    if (options.useRAF === false) {
      Backbone.View.prototype.useRAF = false;
    }

    // Allow underscore to be swapped out
    if (options._) {
      _ = options._;
    }
  }
function ( options ) { _ . extend ( LayoutManager . prototype , options ) ; // Allow LayoutManager to manage Backbone.View.prototype. if ( options . manage ) { Backbone . View . prototype . manage = true ; } // Disable the element globally. if ( options . el === false ) { Backbone . View . prototype . el = false ; } // Allow global configuration of `suppressWarnings`. if ( options . suppressWarnings === true ) { Backbone . View . prototype . suppressWarnings = true ; } // Allow global configuration of `useRAF`. if ( options . useRAF === false ) { Backbone . View . prototype . useRAF = false ; } // Allow underscore to be swapped out if ( options . _ ) { _ = options . _ ; } }
This static method allows for global configuration of LayoutManager.
This static method allows for global configuration of LayoutManager .