Advertisement
Guest User

Untitled

a guest
May 24th, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. getNgModuleMetadata(moduleType: any, throwIfNotFound = true): cpl.CompileNgModuleMetadata|null {
  2. moduleType = resolveForwardRef(moduleType);
  3. let compileMeta = this._ngModuleCache.get(moduleType);
  4. if (compileMeta) {
  5. return compileMeta;
  6. }
  7.  
  8. const meta = this._ngModuleResolver.resolve(moduleType, throwIfNotFound);
  9. if (!meta) {
  10. return null;
  11. }
  12.  
  13. ...
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement