Skip to content
This repository has been archived by the owner on Mar 28, 2019. It is now read-only.

Breaks parsing @media rules #105

Open
CTaylor1118 opened this issue Jan 15, 2018 · 1 comment
Open

Breaks parsing @media rules #105

CTaylor1118 opened this issue Jan 15, 2018 · 1 comment

Comments

@CTaylor1118
Copy link

The parsing for consecutive @media rules (and likely @Keyframes and @font-face) is broken. It seems to be due to the code assuming that @ is the next character (https://github.com/mozilla/slowparse/blob/gh-pages/slowparse.js#L224) when it may be a space. I can make a PR if needed.

@Pomax
Copy link
Contributor

Pomax commented Jan 16, 2018

Thanks for letting us know - a PR is always appreciated!

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

No branches or pull requests

2 participants