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
59ea1c2f7d
commit
cf577ba8eb
1136 changed files with 59263 additions and 576 deletions
13
dashboard-ui/bower_components/prism/tests/languages/python/boolean_feature.test
vendored
Normal file
13
dashboard-ui/bower_components/prism/tests/languages/python/boolean_feature.test
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
True
|
||||
False
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["boolean", "True"],
|
||||
["boolean", "False"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for booleans.
|
15
dashboard-ui/bower_components/prism/tests/languages/python/class-name_feature.test
vendored
Normal file
15
dashboard-ui/bower_components/prism/tests/languages/python/class-name_feature.test
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
class Foo
|
||||
class foobar_42
|
||||
class _
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["keyword", "class"], ["class-name", "Foo"],
|
||||
["keyword", "class"], ["class-name", "foobar_42"],
|
||||
["keyword", "class"], ["class-name", "_"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for class names.
|
13
dashboard-ui/bower_components/prism/tests/languages/python/comment_feature.test
vendored
Normal file
13
dashboard-ui/bower_components/prism/tests/languages/python/comment_feature.test
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
#
|
||||
# foobar
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["comment", "#"],
|
||||
["comment", "# foobar"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for comments.
|
15
dashboard-ui/bower_components/prism/tests/languages/python/function_feature.test
vendored
Normal file
15
dashboard-ui/bower_components/prism/tests/languages/python/function_feature.test
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
def Foo(
|
||||
def foo_bar_42(
|
||||
def _(
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["keyword", "def"], ["function", "Foo"], ["punctuation", "("],
|
||||
["keyword", "def"], ["function", "foo_bar_42"], ["punctuation", "("],
|
||||
["keyword", "def"], ["function", "_"], ["punctuation", "("]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for functions.
|
27
dashboard-ui/bower_components/prism/tests/languages/python/keyword_feature.test
vendored
Normal file
27
dashboard-ui/bower_components/prism/tests/languages/python/keyword_feature.test
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
as assert async await
|
||||
break class;
|
||||
continue def;
|
||||
del elif else
|
||||
except exec finally
|
||||
for from global if
|
||||
import in is lambda
|
||||
pass print raise return
|
||||
try while with yield
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["keyword", "as"], ["keyword", "assert"], ["keyword", "async"], ["keyword", "await"],
|
||||
["keyword", "break"], ["keyword", "class"], ["punctuation", ";"],
|
||||
["keyword", "continue"], ["keyword", "def"], ["punctuation", ";"],
|
||||
["keyword", "del"], ["keyword", "elif"], ["keyword", "else"],
|
||||
["keyword", "except"], ["keyword", "exec"], ["keyword", "finally"],
|
||||
["keyword", "for"], ["keyword", "from"], ["keyword", "global"], ["keyword", "if"],
|
||||
["keyword", "import"], ["keyword", "in"], ["keyword", "is"], ["keyword", "lambda"],
|
||||
["keyword", "pass"], ["keyword", "print"], ["keyword", "raise"], ["keyword", "return"],
|
||||
["keyword", "try"], ["keyword", "while"], ["keyword", "with"], ["keyword", "yield"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for all keywords.
|
27
dashboard-ui/bower_components/prism/tests/languages/python/number_feature.test
vendored
Normal file
27
dashboard-ui/bower_components/prism/tests/languages/python/number_feature.test
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
0b0001
|
||||
0o754
|
||||
0xBadFace
|
||||
42
|
||||
3.14159
|
||||
2.1E10
|
||||
0.3e-7
|
||||
4.8e+1
|
||||
42j
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["number", "0b0001"],
|
||||
["number", "0o754"],
|
||||
["number", "0xBadFace"],
|
||||
["number", "42"],
|
||||
["number", "3.14159"],
|
||||
["number", "2.1E10"],
|
||||
["number", "0.3e-7"],
|
||||
["number", "4.8e+1"],
|
||||
["number", "42j"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for hexadecimal, octal, binary and decimal numbers.
|
31
dashboard-ui/bower_components/prism/tests/languages/python/operator_feature.test
vendored
Normal file
31
dashboard-ui/bower_components/prism/tests/languages/python/operator_feature.test
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
+ +=
|
||||
- -=
|
||||
* ** *= **=
|
||||
/ /= // //=
|
||||
% %=
|
||||
< <= <> <<
|
||||
> >= >>
|
||||
= ==
|
||||
!=
|
||||
& | ^ ~
|
||||
or and not
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["operator", "+"], ["operator", "+="],
|
||||
["operator", "-"], ["operator", "-="],
|
||||
["operator", "*"], ["operator", "**"], ["operator", "*="], ["operator", "**="],
|
||||
["operator", "/"], ["operator", "/="], ["operator", "//"], ["operator", "//="],
|
||||
["operator", "%"], ["operator", "%="],
|
||||
["operator", "<"], ["operator", "<="], ["operator", "<>"], ["operator", "<<"],
|
||||
["operator", ">"], ["operator", ">="], ["operator", ">>"],
|
||||
["operator", "="], ["operator", "=="],
|
||||
["operator", "!="],
|
||||
["operator", "&"], ["operator", "|"], ["operator", "^"], ["operator", "~"],
|
||||
["operator", "or"], ["operator", "and"], ["operator", "not"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for all operators.
|
17
dashboard-ui/bower_components/prism/tests/languages/python/string_feature.test
vendored
Normal file
17
dashboard-ui/bower_components/prism/tests/languages/python/string_feature.test
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
""
|
||||
"fo\"obar"
|
||||
''
|
||||
'fo\'obar'
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["string", "\"\""],
|
||||
["string", "\"fo\\\"obar\""],
|
||||
["string", "''"],
|
||||
["string", "'fo\\'obar'"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for strings.
|
21
dashboard-ui/bower_components/prism/tests/languages/python/triple-quoted-string_feature.test
vendored
Normal file
21
dashboard-ui/bower_components/prism/tests/languages/python/triple-quoted-string_feature.test
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
"""foobar"""
|
||||
"""fo"o
|
||||
#bar
|
||||
baz"""
|
||||
'''foobar'''
|
||||
'''fo'o
|
||||
#bar
|
||||
baz'''
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["triple-quoted-string", "\"\"\"foobar\"\"\""],
|
||||
["triple-quoted-string", "\"\"\"fo\"o\r\n#bar\r\nbaz\"\"\""],
|
||||
["triple-quoted-string", "'''foobar'''"],
|
||||
["triple-quoted-string", "'''fo'o\r\n#bar\r\nbaz'''"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for triple-quoted strings.
|
Loading…
Add table
Add a link
Reference in a new issue