compositedisposable.js
function CompositeDisposable () {
  var args = [], i, len;
  if (Array.isArray(arguments[0])) {
    args = arguments[0];
    len = args.length;
  } else {
    len = arguments.length;
    args = new Array(len);
    for(i = 0; i < len; i++) { args[i] = arguments[i]; }
  }
  this._disposables = args;
  this.isDisposed = false;
  this.length = args.length;
}
function CompositeDisposable () {
  var args = [], i, len;
  if (Array.isArray(arguments[0])) {
    args = arguments[0];
    len = args.length;
  } else {
    len = arguments.length;
    args = new Array(len);
    for(i = 0; i < len; i++) { args[i] = arguments[i]; }
  }
  this._disposables = args;
  this.isDisposed = false;
  this.length = args.length;
}
function CompositeDisposable ( ) { var args = [ ] , i , len ; if ( Array . isArray ( arguments [ 0 ] ) ) { args = arguments [ 0 ] ; len = args . length ; } else { len = arguments . length ; args = new Array ( len ) ; for ( i = 0 ; i < len ; i ++ ) { args [ i ] = arguments [ i ] ; } } this . _disposables = args ; this . isDisposed = false ; this . length = args . length ; }
Represents a group of disposable resources that are disposed together.
@constructor
Represents a group of disposable resources that are disposed together .