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-03 18:00:01 -05:00
parent 59ea1c2f7d
commit cf577ba8eb
1136 changed files with 59263 additions and 576 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.