components.js
function done(error) {
    if (error) {
      errors.push(error);
    }
    if (--initializing <= 0) {
      if (errors && errors.length) {
        var errorResult = new Error('Errors occurred during initialization.');
        errorResult.initializationErrors = errors;
        callback(errorResult);
      } else {
        processPostInitializeQueue(postInitializeQueue, callback);
      }
    }
  }
function done(error) {
    if (error) {
      errors.push(error);
    }
    if (--initializing <= 0) {
      if (errors && errors.length) {
        var errorResult = new Error('Errors occurred during initialization.');
        errorResult.initializationErrors = errors;
        callback(errorResult);
      } else {
        processPostInitializeQueue(postInitializeQueue, callback);
      }
    }
  }
function done ( error ) { if ( error ) { errors . push ( error ) ; } if ( -- initializing <= 0 ) { if ( errors && errors . length ) { var errorResult = new Error ( 'Errors occurred during initialization.' ) ; errorResult . initializationErrors = errors ; callback ( errorResult ) ; } else { processPostInitializeQueue ( postInitializeQueue , callback ) ; } } }
decrement initializing until all asynchronously initilizations have completed
decrement initializing until all asynchronously initilizations have completed