-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## TL;DR; - 1.8kB raw filesize reduction with some not-too-extreme code golfing ## Before String/identifier analysis: `Total size: 18.0 kB, string size: 2.9 kB (15.9%)` ## After String/identifier analysis: `Total size: 16.2 kB, string size: 2.8 kB (17.4%)`
- Loading branch information
1 parent
1cf7361
commit 37070ca
Showing
16 changed files
with
454 additions
and
307 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// Atrule | ||
export const Atrule = 'Atrule' | ||
export const MediaQuery = 'MediaQuery' | ||
export const MediaFeature = 'MediaFeature' | ||
// Rule | ||
export const Rule = 'Rule' | ||
|
||
// Selector | ||
export const Selector = 'Selector' | ||
export const TypeSelector = 'TypeSelector' | ||
export const PseudoClassSelector = 'PseudoClassSelector' | ||
export const AttributeSelector = 'AttributeSelector' | ||
export const IdSelector = 'IdSelector' | ||
export const ClassSelector = 'ClassSelector' | ||
export const PseudoElementSelector = 'PseudoElementSelector' | ||
|
||
// Declaration | ||
export const Declaration = 'Declaration' | ||
|
||
// Values | ||
export const Value = 'Value' | ||
export const Identifier = 'Identifier' | ||
export const Nth = 'Nth' | ||
export const Combinator = 'Combinator' | ||
export const Nr = 'Number' | ||
export const Dimension = 'Dimension' | ||
export const Operator = 'Operator' | ||
export const Hash = 'Hash' | ||
export const Url = 'Url' | ||
export const Func = 'Function' |
Oops, something went wrong.