Skip to content

Commit

Permalink
Redundant.
Browse files Browse the repository at this point in the history
  • Loading branch information
thesoftwarephilosopher committed Aug 23, 2024
1 parent 44e42ad commit 4d05318
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/token-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const tokenProvider = {
root: [
[/}/, {
cases: {
'$S2==INJSX': { token: '@brackets', bracket: '@close', next: '@pop' },
'$S2==INJSX': { token: '@brackets', next: '@pop' },
'@default': '@brackets',
}
}],
Expand Down Expand Up @@ -203,7 +203,7 @@ export const tokenProvider = {
[/ +([\w-$]+)/, 'attribute.name'],
[/(=)(')/, ['delimiter', { token: 'string', next: '@string_single' }]],
[/(=)(")/, ['delimiter', { token: 'string', next: '@string_double' }]],
[/(=)({)/, ['delimiter', { token: '@brackets', next: '@root.INJSX', bracket: '@open' }]],
[/(=)({)/, ['delimiter', { token: '@brackets', next: '@root.INJSX' }]],
],

jsxText: [
Expand Down

0 comments on commit 4d05318

Please sign in to comment.