diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-11-19 12:16:34 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-11-19 12:16:34 +0000 |
| commit | 2df392487052d543fe412383ef6d29886678edbf (patch) | |
| tree | 427c93ee2128c546076c32a9814efa094bde8968 /lib/styles | |
| parent | f3676789408dfaf898823c1fbe3cb7d6888a1fd4 (diff) | |
Support parsing style name prefixes
Diffstat (limited to 'lib/styles')
| -rw-r--r-- | lib/styles/parser/tokeniser.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/styles/parser/tokeniser.js b/lib/styles/parser/tokeniser.js index c60e134..fa45ff9 100644 --- a/lib/styles/parser/tokeniser.js +++ b/lib/styles/parser/tokeniser.js @@ -15,6 +15,7 @@ function tokenise(string) { {name: "whitespace", regex: /\s+/}, {name: "arrow", regex: /=>/}, {name: "equals", regex: /=/}, + {name: "startsWith", regex: /\^=/}, {name: "open-paren", regex: /\(/}, {name: "close-paren", regex: /\)/}, {name: "open-square-bracket", regex: /\[/}, |
