1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update components

This commit is contained in:
Luke Pulverenti 2016-02-02 21:12:02 -05:00
parent 2a4b879c21
commit 63664e6c1c
1155 changed files with 62261 additions and 84 deletions

View 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.