Skip to content
This repository was archived by the owner on Oct 12, 2021. It is now read-only.

Conversation

@mgechev
Copy link
Member

@mgechev mgechev commented Jul 7, 2016

  1. Allow visitors to process the AST produced by the template before serialization.
  2. Implement inlining of external resources in stylesheets and style attributes.
  3. Refactor the node stripping to use the visitors API.

1. Allow visitors to process the AST produced by the template before serialization.
2. Implement inlining of external resources in stylesheets and style attributes.
3. Refactor the node stripping to use the visitors API.
@jeffbcross
Copy link
Contributor

This is so awesome!

@jeffbcross jeffbcross merged commit a7d2d6e into angular:master Jul 7, 2016
@mgechev mgechev deleted the inline-resources branch July 7, 2016 18:29
let urls = this.getImagesUrls(style);
urls = urls.filter((url: string, idx: number) => urls.indexOf(url) === idx);
return this.processInline(urls, style)
.then((content: string) => content);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this necessary?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants