Skip to content
Permalink
Browse files
JSX: Move alias property (#3222)
  • Loading branch information
RunDevelopment committed Dec 2, 2021
1 parent 6f1d904 commit 18c9204806c9a5dadd7138cc6bef807d3a607730
Showing with 2 additions and 2 deletions.
  1. +1 −1 components/prism-jsx.js
  2. +1 −1 components/prism-jsx.min.js
@@ -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);

Some generated files are not rendered by default. Learn more.

0 comments on commit 18c9204

Please sign in to comment.