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

fix: responsive image audits for vectors and duplicates #1749

Merged
merged 2 commits into from
Feb 21, 2017

Conversation

patrickhulce
Copy link
Collaborator

fixes #1747 and #1748

@patrickhulce patrickhulce changed the title fix: responsive image audits fix: responsive image audits for vectors and duplicates Feb 17, 2017
return results;
}

const processed = UsesResponsiveImages.computeWaste(image, DPR);
if (!processed) {
Copy link
Contributor

Choose a reason for hiding this comment

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

we don't need the null check anymore?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

correct, it will either throw or return an object now

@paulirish paulirish merged commit 7d01ba8 into master Feb 21, 2017
@paulirish paulirish deleted the responsive_fixes branch February 21, 2017 19:19
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

Successfully merging this pull request may close these issues.

Responsive images: don't warn about vectors
3 participants