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
003fd2ae7e
commit
35cc50701d
1155 changed files with 62261 additions and 84 deletions
13
dashboard-ui/bower_components/prism/tests/languages/javascript/boolean_feature.test
vendored
Normal file
13
dashboard-ui/bower_components/prism/tests/languages/javascript/boolean_feature.test
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
true
|
||||
false
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["boolean", "true"],
|
||||
["boolean", "false"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for booleans.
|
23
dashboard-ui/bower_components/prism/tests/languages/javascript/function_feature.test
vendored
Normal file
23
dashboard-ui/bower_components/prism/tests/languages/javascript/function_feature.test
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
foo()
|
||||
foo_bar()
|
||||
f42()
|
||||
_()
|
||||
$()
|
||||
ಠ_ಠ()
|
||||
Ƞȡ_҇()
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["function", "foo"], ["punctuation", "("], ["punctuation", ")"],
|
||||
["function", "foo_bar"], ["punctuation", "("], ["punctuation", ")"],
|
||||
["function", "f42"], ["punctuation", "("], ["punctuation", ")"],
|
||||
["function", "_"], ["punctuation", "("], ["punctuation", ")"],
|
||||
["function", "$"], ["punctuation", "("], ["punctuation", ")"],
|
||||
["function", "ಠ_ಠ"], ["punctuation", "("], ["punctuation", ")"],
|
||||
["function", "Ƞȡ_҇"], ["punctuation", "("], ["punctuation", ")"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for functions. Also checks for unicode characters in identifiers.
|
70
dashboard-ui/bower_components/prism/tests/languages/javascript/keyword_feature.test
vendored
Normal file
70
dashboard-ui/bower_components/prism/tests/languages/javascript/keyword_feature.test
vendored
Normal file
|
@ -0,0 +1,70 @@
|
|||
as; async; await; break; case;
|
||||
catch; class; const; continue; debugger;
|
||||
default; delete; do; else; enum;
|
||||
export; extends; finally; for;
|
||||
from; function; get; if; implements;
|
||||
import; in; instanceof; interface; let;
|
||||
new; null; of; package; private;
|
||||
protected; public; return; set; static;
|
||||
super; switch; this; throw;
|
||||
try; typeof; var; void; while;
|
||||
with; yield;
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["keyword", "as"], ["punctuation", ";"],
|
||||
["keyword", "async"], ["punctuation", ";"],
|
||||
["keyword", "await"], ["punctuation", ";"],
|
||||
["keyword", "break"], ["punctuation", ";"],
|
||||
["keyword", "case"], ["punctuation", ";"],
|
||||
["keyword", "catch"], ["punctuation", ";"],
|
||||
["keyword", "class"], ["punctuation", ";"],
|
||||
["keyword", "const"], ["punctuation", ";"],
|
||||
["keyword", "continue"], ["punctuation", ";"],
|
||||
["keyword", "debugger"], ["punctuation", ";"],
|
||||
["keyword", "default"], ["punctuation", ";"],
|
||||
["keyword", "delete"], ["punctuation", ";"],
|
||||
["keyword", "do"], ["punctuation", ";"],
|
||||
["keyword", "else"], ["punctuation", ";"],
|
||||
["keyword", "enum"], ["punctuation", ";"],
|
||||
["keyword", "export"], ["punctuation", ";"],
|
||||
["keyword", "extends"], ["punctuation", ";"],
|
||||
["keyword", "finally"], ["punctuation", ";"],
|
||||
["keyword", "for"], ["punctuation", ";"],
|
||||
["keyword", "from"], ["punctuation", ";"],
|
||||
["keyword", "function"], ["punctuation", ";"],
|
||||
["keyword", "get"], ["punctuation", ";"],
|
||||
["keyword", "if"], ["punctuation", ";"],
|
||||
["keyword", "implements"], ["punctuation", ";"],
|
||||
["keyword", "import"], ["punctuation", ";"],
|
||||
["keyword", "in"], ["punctuation", ";"],
|
||||
["keyword", "instanceof"], ["punctuation", ";"],
|
||||
["keyword", "interface"], ["punctuation", ";"],
|
||||
["keyword", "let"], ["punctuation", ";"],
|
||||
["keyword", "new"], ["punctuation", ";"],
|
||||
["keyword", "null"], ["punctuation", ";"],
|
||||
["keyword", "of"], ["punctuation", ";"],
|
||||
["keyword", "package"], ["punctuation", ";"],
|
||||
["keyword", "private"], ["punctuation", ";"],
|
||||
["keyword", "protected"], ["punctuation", ";"],
|
||||
["keyword", "public"], ["punctuation", ";"],
|
||||
["keyword", "return"], ["punctuation", ";"],
|
||||
["keyword", "set"], ["punctuation", ";"],
|
||||
["keyword", "static"], ["punctuation", ";"],
|
||||
["keyword", "super"], ["punctuation", ";"],
|
||||
["keyword", "switch"], ["punctuation", ";"],
|
||||
["keyword", "this"], ["punctuation", ";"],
|
||||
["keyword", "throw"], ["punctuation", ";"],
|
||||
["keyword", "try"], ["punctuation", ";"],
|
||||
["keyword", "typeof"], ["punctuation", ";"],
|
||||
["keyword", "var"], ["punctuation", ";"],
|
||||
["keyword", "void"], ["punctuation", ";"],
|
||||
["keyword", "while"], ["punctuation", ";"],
|
||||
["keyword", "with"], ["punctuation", ";"],
|
||||
["keyword", "yield"], ["punctuation", ";"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for all keywords.
|
32
dashboard-ui/bower_components/prism/tests/languages/javascript/number_feature.test
vendored
Normal file
32
dashboard-ui/bower_components/prism/tests/languages/javascript/number_feature.test
vendored
Normal file
|
@ -0,0 +1,32 @@
|
|||
42
|
||||
3.14159
|
||||
4e10
|
||||
3.2E+6
|
||||
2.1e-10
|
||||
0b1101
|
||||
0o571
|
||||
0xbabe
|
||||
0xBABE
|
||||
NaN
|
||||
Infinity
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["number", "42"],
|
||||
["number", "3.14159"],
|
||||
["number", "4e10"],
|
||||
["number", "3.2E+6"],
|
||||
["number", "2.1e-10"],
|
||||
["number", "0b1101"],
|
||||
["number", "0o571"],
|
||||
["number", "0xbabe"],
|
||||
["number", "0xBABE"],
|
||||
["number", "NaN"],
|
||||
["number", "Infinity"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for decimal numbers, binary numbers, octal numbers, hexadecimal numbers.
|
||||
Also checks for keywords representing numbers.
|
15
dashboard-ui/bower_components/prism/tests/languages/javascript/regex_feature.test
vendored
Normal file
15
dashboard-ui/bower_components/prism/tests/languages/javascript/regex_feature.test
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
/foo bar/
|
||||
/foo/gimyu,
|
||||
/[\[\]]{2,4}(?:foo)*/;
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["regex", "/foo bar/"],
|
||||
["regex", "/foo/gimyu"], ["punctuation", ","],
|
||||
["regex", "/[\\[\\]]{2,4}(?:foo)*/"], ["punctuation", ";"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for regex.
|
42
dashboard-ui/bower_components/prism/tests/languages/javascript/template-string_feature.test
vendored
Normal file
42
dashboard-ui/bower_components/prism/tests/languages/javascript/template-string_feature.test
vendored
Normal file
|
@ -0,0 +1,42 @@
|
|||
`foo bar`
|
||||
`foo
|
||||
bar`
|
||||
`40+2=${40+2}`
|
||||
`${foo()}`
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["template-string", [
|
||||
["string", "`foo bar`"]
|
||||
]],
|
||||
["template-string", [
|
||||
["string", "`foo\r\nbar`"]
|
||||
]],
|
||||
["template-string", [
|
||||
["string", "`40+2="],
|
||||
["interpolation", [
|
||||
["interpolation-punctuation", "${"],
|
||||
["number", "40"],
|
||||
["operator", "+"],
|
||||
["number", "2"],
|
||||
["interpolation-punctuation", "}"]
|
||||
]],
|
||||
["string", "`"]
|
||||
]],
|
||||
["template-string", [
|
||||
["string", "`"],
|
||||
["interpolation", [
|
||||
["interpolation-punctuation", "${"],
|
||||
["function", "foo"],
|
||||
["punctuation", "("],
|
||||
["punctuation", ")"],
|
||||
["interpolation-punctuation", "}"]
|
||||
]],
|
||||
["string", "`"]
|
||||
]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for single-line and multi-line template strings.
|
Loading…
Add table
Add a link
Reference in a new issue