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

media queries issues #1

Closed
dam5s opened this issue Dec 23, 2010 · 2 comments
Closed

media queries issues #1

dam5s opened this issue Dec 23, 2010 · 2 comments

Comments

@dam5s
Copy link

dam5s commented Dec 23, 2010

Hi,

I use latest version of Jammit which uses yui compressor gem version 0.9.1.
When I compress a CSS file with media queries, those queries don't work.

This is a known issue of "old" versions of the YUI compressor. The solution would be to use a more recent version.

This is more detailed there: http://stackoverflow.com/questions/4144706/is-there-a-version-of-yui-compressor-that-deals-correctly-with-media-queries

Cheers,
Damien :)

@mjackson
Copy link
Owner

Hi Damien,

I believe you meant to file this issue with the yui-compressor gem, not my gem which is titled (somewhat confusingly) yuicompressor. My gem is already using the YUI compressor version 2.4.4 which should be able to handle media queries correctly as pointed out in the stack overflow thread you linked to. Jammit uses the yui-compressor gem, which can be found here.

Good luck getting changes merged into yui-compressor. I was unable to get my JRuby implementation in (thus I created my own gem), but a simple update to the YUI compressor library should be a lot easier to make.

@dam5s
Copy link
Author

dam5s commented Dec 23, 2010

Hi Michael,

thanks a bunch for the info! I was confused indeed when I saw the tree contained version 2.4.4 of YUI compressor... thanks again :)

Damien.

This issue was closed.
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

2 participants