Skip to content

Commit

Permalink
Minor README.md fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
thejerf committed Sep 2, 2015
1 parent cce518c commit 0c4dbd9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ post-processed into their "actual" value... that is, the CSS identifiers
The URL token will contain the literal URL, with the CSS encoding processed
away. Etc. Code to correctly emit legal tokens has also been added.

I've also taken the liberty of exporting the `TokenType`, which turns out
to be pretty useful for external processors. To reduce code stuttering, the
Tokens have been renamed to remove the `Token` prefix, and `TokenChar` is
now `TokenDelim`, as that is what CSS calls it.
I've also taken the liberty of exporting the `Type` (`TokenType` in
Gorilla's version), which turns out to be pretty useful for external
processors. To reduce code stuttering, the Tokens have been renamed to
remove the `Token` prefix, and `TokenChar` is now `TokenDelim`, as that is
what CSS calls it.

As of this writing, my personal focus has been on using this to scan
HTML-style style tags as correctly as possible. I can't vouch for whether
Expand Down

0 comments on commit 0c4dbd9

Please sign in to comment.