Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$css.preload: calling the callback when it fails. #70

Open
iangregsondev opened this issue Jul 26, 2016 · 0 comments
Open

$css.preload: calling the callback when it fails. #70

iangregsondev opened this issue Jul 26, 2016 · 0 comments

Comments

@iangregsondev
Copy link

Hi,

Just a suggestion but the $css.preload only calls the callback when there is no error.

Probably be better to either call the callback passing in an error object when a failure happens or changing is to a promise so we can chain "then" and "catch"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant