style: typos fixed - https://github.com/vlajos/misspell-fixer (#22975)
PR Close #22975
This commit is contained in:

committed by
Matias Niemelä

parent
f739f756ce
commit
de90314304
@ -162,11 +162,11 @@ export class DirectiveNormalizer {
|
||||
stylesheets: Map<string, CompileStylesheetMetadata>): CompileTemplateMetadata {
|
||||
// Algorithm:
|
||||
// - produce exactly 1 entry per original styleUrl in
|
||||
// CompileTemplateMetadata.externalStylesheets whith all styles inlined
|
||||
// CompileTemplateMetadata.externalStylesheets with all styles inlined
|
||||
// - inline all styles that are referenced by the template into CompileTemplateMetadata.styles.
|
||||
// Reason: be able to determine how many stylesheets there are even without loading
|
||||
// the template nor the stylesheets, so we can create a stub for TypeScript always synchronously
|
||||
// (as resouce loading may be async)
|
||||
// (as resource loading may be async)
|
||||
|
||||
const styles = [...preparsedTemplate.styles];
|
||||
this._inlineStyles(preparsedTemplate.inlineStyleUrls, stylesheets, styles);
|
||||
|
Reference in New Issue
Block a user