mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-22 03:42:14 +00:00
Add missing patch for #5368
This commit is contained in:
@@ -1,3 +1,18 @@
|
||||
diff --git a/node_modules/@codemirror/lang-javascript/dist/index.cjs b/node_modules/@codemirror/lang-javascript/dist/index.cjs
|
||||
index 4475e4f..e1255c9 100644
|
||||
--- a/node_modules/@codemirror/lang-javascript/dist/index.cjs
|
||||
+++ b/node_modules/@codemirror/lang-javascript/dist/index.cjs
|
||||
@@ -135,7 +135,9 @@ const javascriptLanguage = language.LRLanguage.define({
|
||||
JSXText: highlight.tags.content,
|
||||
"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag": highlight.tags.angleBracket,
|
||||
"JSXIdentifier JSXNameSpacedName": highlight.tags.tagName,
|
||||
- "JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName": highlight.tags.attributeName
|
||||
+ "JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName": highlight.tags.attributeName,
|
||||
+ "JSXAttribute/JSXLowerIdentifier JSXAttribute/JSXNameSpacedName": highlight.tags.attributeName,
|
||||
+ "JSXBuiltin/JSXIdentifier": highlight.tags.standard(highlight.tags.tagName)
|
||||
})
|
||||
]
|
||||
}),
|
||||
diff --git a/node_modules/@codemirror/lang-javascript/dist/index.js b/node_modules/@codemirror/lang-javascript/dist/index.js
|
||||
index d089f6b..db09ea6 100644
|
||||
--- a/node_modules/@codemirror/lang-javascript/dist/index.js
|
||||
|
||||
Reference in New Issue
Block a user