Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Fix @import tokenization#50

Closed
zr9 wants to merge 1 commit intoatom:masterfrom
zr9:issue_42
Closed

Fix @import tokenization#50
zr9 wants to merge 1 commit intoatom:masterfrom
zr9:issue_42

Conversation

@zr9
Copy link
Copy Markdown

@zr9 zr9 commented Jan 21, 2016

Fixes #42

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why can't we just match ;?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

We can, it probably my miss after tests, should i update?

@winstliu
Copy link
Copy Markdown
Contributor

captures should be renamed to beginCaptures.

In addition, I don't think that this actually fixes the root cause. The real issue is the media-query-list repository which matches basically everything: \\s*(?=[^{;]). That's overriding the strings. The real fix would be to make media-query-list only match when it's supposed to.

@winstliu winstliu changed the title Fixed issue #42 and added specs Fix @import tokenization Jan 21, 2016
@zr9
Copy link
Copy Markdown
Author

zr9 commented Jan 21, 2016

Possible, but that require remove of media-query block and moving it under media-query-list otherwise we get twice repetition of condition, it's basically the reason i'm make it that way, because i'm think it done on purpose for further improvements.

@winstliu winstliu closed this Jan 11, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants