Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

Component fails to display if cssUrl is wrong for Component #411

Closed
sethladd opened this issue Jan 10, 2014 · 1 comment
Closed

Component fails to display if cssUrl is wrong for Component #411

sethladd opened this issue Jan 10, 2014 · 1 comment
Milestone

Comments

@sethladd
Copy link
Contributor

I wouldn't expect nothing to be rendered if my @NgComponent has a bad URL for cssUrl.

If I remove cssUrl, then the component displays. If I fix the URL in cssUrl, the component displays. If the cssUrl points to a 404, then nothing is displayed.

@ghost ghost assigned pavelgj Jan 14, 2014
@mhevery
Copy link
Contributor

mhevery commented Jan 27, 2014

I think we should render the component without CSS. That is what happens in the browsers today with static content.

So if the promise from CSS http is rejected we move on with the remainder of the component rendering process.\

@mhevery mhevery assigned mhevery and unassigned pavelgj Feb 5, 2014
@mhevery mhevery closed this as completed in b5aa130 Feb 6, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants