static onModuleLoaded(moduleId, module) {
    if (mr.Module.moduleById_.has(moduleId)) {
      throw new Error('Duplicate module ' + moduleId);
    }
    mr.Module.moduleById_.set(moduleId, module);
    const resolver = mr.Module.resolverByModuleId_.get(moduleId);
    if (resolver) {
      resolver.resolve(module);
    }
  }
/**
   * Called by a module when it is done loading and initializing. Registers the
   * module and resolves the outstanding promise returned by |load(moduleId)|.
   * @param {mr.ModuleId} moduleId Identifier of the module. No two modules can
   *     have the same identifier.
   * @param {!mr.Module} module The module that is ready.
   */
Called by a module when it is done loading and initializing. Registers the
module and resolves the outstanding promise returned by |load(moduleId)|.
@param {mr.ModuleId} moduleId Identifier of the module. No two modules can
have the same identifier.
@param {!mr.Module} module The module that is ready.
Called by a module when it is done loading and initializing . Registers the module and resolves the outstanding promise returned by |load ( moduleId ) | . @param { mr . ModuleId } moduleId Identifier of the module . No two modules can have the same identifier . @param { !mr . Module } module The module that is ready .
static onModuleLoaded(moduleId, module) {
    if (mr.Module.moduleById_.has(moduleId)) {
      throw new Error('Duplicate module ' + moduleId);
    }
    mr.Module.moduleById_.set(moduleId, module);
    const resolver = mr.Module.resolverByModuleId_.get(moduleId);
    if (resolver) {
      resolver.resolve(module);
    }
  }
static onModuleLoaded ( moduleId , module ) { if ( mr . Module . moduleById_ . has ( moduleId ) ) { throw new Error ( 'Duplicate module ' + moduleId ) ; } mr . Module . moduleById_ . set ( moduleId , module ) ; const resolver = mr . Module . resolverByModuleId_ . get ( moduleId ) ; if ( resolver ) { resolver . resolve ( module ) ; } }
Called by a module when it is done loading and initializing.
Called by a module when it is done loading and initializing .