Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #6 from MohammadYounes/master

Fix rule name gets flipped issue #5
  • Loading branch information...
commit 6a616a63bf553990017bd3ea32517af41f8bcf6b 2 parents 01c4340 + 47819f3
@trevorparscal trevorparscal authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/cssjanus.js
View
2  lib/cssjanus.js
@@ -34,7 +34,7 @@ function CSSJanus() {
directionPattern = 'direction\\s*:\\s*',
urlSpecialCharsPattern = '[!#$%&*-~]',
validAfterUriCharsPattern = '[\'"]?\\s*',
- nonLetterPattern = '(^|[^a-zA-Z])',
+ nonLetterPattern = '(^|[^a-zA-Z\.])',
charsWithinSelectorPattern = '[^\\}]*?',
noFlipPattern = '\\/\\*\\!?\\s*@noflip\\s*\\*\\/',
commentPattern = '\\/\\*[^*]*\\*+([^\\/*][^*]*\\*+)*\\/',
Please sign in to comment.
Something went wrong with that request. Please try again.