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

Support parsing class names instead of loading CSS via XHR #2

Open
Mr0grog opened this issue Apr 9, 2013 · 0 comments
Open

Support parsing class names instead of loading CSS via XHR #2

Mr0grog opened this issue Apr 9, 2013 · 0 comments

Comments

@Mr0grog
Copy link
Owner

Mr0grog commented Apr 9, 2013

Right now, we have to load the CSS via XHR because the parsed stylesheet info doesn't contain unrecognizable selectors (which would include any selectors with :media() in them).

If we could parse the class names we replace media queries with (e.g. query_min-available-width_200px), we could do everything without needing to reload via XHR. Not as nice for an author, though. Maybe a useful optimization when using a build tool?

Probably not worthwhile unless someone really wants to use this in production as more than a proof-of-concept.

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

No branches or pull requests

1 participant