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
21
dashboard-ui/bower_components/prism/components/prism-oz.js
vendored
Normal file
21
dashboard-ui/bower_components/prism/components/prism-oz.js
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
Prism.languages.oz = {
|
||||
'comment': /\/\*[\s\S]*?\*\/|%.*/,
|
||||
'string': /"(?:[^"\\]|\\[\s\S])*"/,
|
||||
'atom': {
|
||||
pattern: /'(?:[^'\\]|\\.)*'/,
|
||||
alias: 'builtin'
|
||||
},
|
||||
'keyword': /[$_]|\[\]|\b(?:at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,
|
||||
'function': [
|
||||
/[a-z][A-Za-z\d]*(?=\()/,
|
||||
{
|
||||
pattern: /(\{)[A-Z][A-Za-z\d]*/,
|
||||
lookbehind: true
|
||||
}
|
||||
],
|
||||
'number': /\b(?:0[bx][\da-f]+|\d+\.?\d*(?:e~?\d+)?\b)|&(?:[^\\]|\\(?:\d{3}|.))/i,
|
||||
'variable': /\b[A-Z][A-Za-z\d]*|`(?:[^`\\]|\\.)+`/,
|
||||
'attr-name': /\w+(?=:)/,
|
||||
'operator': /:(?:=|::?)|<[-:=]?|=(?:=|<?:?)|>=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,
|
||||
'punctuation': /[\[\](){}.:;?]/
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue