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

support /deep/ and >>> #120

Merged
merged 3 commits into from
Aug 18, 2017
Merged

support /deep/ and >>> #120

merged 3 commits into from
Aug 18, 2017

Conversation

sunnylost
Copy link

Follow vue-loader to support /deep/ and >>>

also fixes #108 .

/ping @znck

@znck
Copy link
Member

znck commented Aug 17, 2017

Cool. Thanks. Please add a covering test too.

@sunnylost
Copy link
Author

ok, and i will fix the eslint warning.

add test for deep and >>>
src/style/css.js Outdated
tag === 'to' ||
tag.match(/^\d/)
) {
isValid = true
Copy link
Member

Choose a reason for hiding this comment

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

You can directly return the expression in if.

Copy link
Member

Choose a reason for hiding this comment

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

Regex .test would be better than tag.match

Copy link
Author

Choose a reason for hiding this comment

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

ok.

Copy link
Author

Choose a reason for hiding this comment

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

Can you check again?

@znck znck merged commit 34f2260 into vuejs:master Aug 18, 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.

used <style scoped> BUG
2 participants