docs(compiler): incorrect method reference (#14314)

PR Close #14314
This commit is contained in:
mgechev
2017-02-05 14:22:06 -08:00
committed by Miško Hevery
parent 1e3dd3dd9b
commit a378aab9aa
2 changed files with 5 additions and 5 deletions

View File

@ -114,7 +114,7 @@ export class JitCompiler implements Compiler {
// Note: the loadingPromise for a module only includes the loading of the exported directives
// of imported modules.
// However, for runtime compilation, we want to transitively compile all modules,
// so we also need to call loadNgModuleMetadata for all nested modules.
// so we also need to call loadNgModuleDirectiveAndPipeMetadata for all nested modules.
ngModule.transitiveModule.modules.forEach((localModuleMeta) => {
loadingPromises.push(this._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(
localModuleMeta.reference, isSync));