Skip to content

Commit

Permalink
JSX: Move alias property (#3222)
Browse files Browse the repository at this point in the history
  • Loading branch information
RunDevelopment authored Dec 2, 2021
1 parent 6f1d904 commit 18c9204
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/prism-jsx.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@
'script': {
// Allow for two levels of nesting
pattern: re(/=<BRACES>/.source),
alias: 'language-javascript',
inside: {
'script-punctuation': {
pattern: /^=(?=\{)/,
alias: 'punctuation'
},
rest: Prism.languages.jsx
},
'alias': 'language-javascript'
}
}, Prism.languages.jsx.tag);

Expand Down
2 changes: 1 addition & 1 deletion components/prism-jsx.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 18c9204

Please sign in to comment.