Skip to content

Commit

Permalink
Improve fix for issue vkalinichev#64
Browse files Browse the repository at this point in the history
  • Loading branch information
evilaliv3 committed May 17, 2020
1 parent d0fe859 commit eb606fe
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/prefixes-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,14 @@ module.exports = ({prefix}) => ({
attribute: {
prefixes: {
ltr: `[${prefix}=ltr]`,
rtl: `[${prefix}=rtl]`,
dir: `[${prefix}]`,
rtl: `[${prefix}=rtl]`
},
regex: new RegExp(`\\[${prefix}(=(\\w+|"\\w+"))?\\]`),
},
class: {
prefixes: {
ltr: `.${prefix}-ltr`,
rtl: `.${prefix}-rtl`,
dir: `.${prefix}`,
rtl: `.${prefix}-rtl`
},
regex: new RegExp(`\\.${prefix}(-\\w+)?`),
},
Expand Down

0 comments on commit eb606fe

Please sign in to comment.