Skip to content

Commit 18c9204

Browse files
JSX: Move alias property (#3222)
1 parent 6f1d904 commit 18c9204

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/prism-jsx.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@
4242
'script': {
4343
// Allow for two levels of nesting
4444
pattern: re(/=<BRACES>/.source),
45+
alias: 'language-javascript',
4546
inside: {
4647
'script-punctuation': {
4748
pattern: /^=(?=\{)/,
4849
alias: 'punctuation'
4950
},
5051
rest: Prism.languages.jsx
5152
},
52-
'alias': 'language-javascript'
5353
}
5454
}, Prism.languages.jsx.tag);
5555

components/prism-jsx.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)