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

Added check if image is already "dense" and fixed extension skipping #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

giano
Copy link

@giano giano commented Jul 17, 2014

Added check if image is already "dense" (in case the name already ends
with “glue”+ devicePixelRatio + ‘x’), skip image with “no-dense” class
and fixed extension skipping as inArray returns 0 for SVG check, that
was evaluated to false and not skipped.

Added check if image is already "dense" (in case the name already ends
with “glue”+ devicePixelRatio + ‘x’), skip image with “no-dense” class
and fixed extension skipping as inArray returns 0 for SVG check, that
was evaluated to false and not skipped.
Modded “already dense” regex for safer detection
@gocom
Copy link
Owner

gocom commented Jul 23, 2014

Thanks. The idea is great, but the implementation needs some work. Both security, regression, compatibility and coding style wise.

I'll will absolutely merge this once it's perfected.

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.

None yet

2 participants