mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
2a4b879c21
commit
63664e6c1c
1155 changed files with 62261 additions and 84 deletions
48
dashboard-ui/bower_components/prism/tests/languages/jsx/tag_feature.test
vendored
Normal file
48
dashboard-ui/bower_components/prism/tests/languages/jsx/tag_feature.test
vendored
Normal file
|
@ -0,0 +1,48 @@
|
|||
var myDivElement = <div className="foo" />;
|
||||
var myElement = <MyComponent someProperty={true} />;
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["keyword", "var"],
|
||||
" myDivElement ",
|
||||
["operator", "="],
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "<"],
|
||||
"div"
|
||||
]],
|
||||
["attr-name", ["className"]],
|
||||
["attr-value", [
|
||||
["punctuation", "="],
|
||||
["punctuation", "\""],
|
||||
"foo",
|
||||
["punctuation", "\""]
|
||||
]],
|
||||
["punctuation", "/>"]
|
||||
]],
|
||||
["punctuation", ";"],
|
||||
|
||||
["keyword", "var"],
|
||||
" myElement ",
|
||||
["operator", "="],
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "<"],
|
||||
"MyComponent"
|
||||
]],
|
||||
["attr-name", ["someProperty"]],
|
||||
["script", [
|
||||
["punctuation", "="],
|
||||
["punctuation", "{"],
|
||||
["boolean", "true"],
|
||||
["punctuation", "}"]
|
||||
]],
|
||||
["punctuation", "/>"]
|
||||
]],
|
||||
["punctuation", ";"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for JSX tags.
|
Loading…
Add table
Add a link
Reference in a new issue