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-ocaml.js
vendored
Normal file
21
dashboard-ui/bower_components/prism/components/prism-ocaml.js
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
Prism.languages.ocaml = {
|
||||
'comment': /\(\*[\s\S]*?\*\)/,
|
||||
'string': [
|
||||
/"(?:\\.|[^\\\r\n"])*"/,
|
||||
/(['`])(?:\\(?:\d+|x[\da-f]+|.)|(?!\1)[^\\\r\n])\1/i
|
||||
],
|
||||
'number': /\b-?(?:0x[\da-f][\da-f_]+|(?:0[bo])?\d[\d_]*\.?[\d_]*(?:e[+-]?[\d_]+)?)/i,
|
||||
'type': {
|
||||
pattern: /\B['`][a-z\d_]*/i,
|
||||
alias: 'variable'
|
||||
},
|
||||
'directive': {
|
||||
pattern: /\B#[a-z\d_]+/i,
|
||||
alias: 'function'
|
||||
},
|
||||
'keyword': /\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|object|of|open|prefix|private|rec|then|sig|struct|to|try|type|val|value|virtual|where|while|with)\b/,
|
||||
'boolean': /\b(?:false|true)\b/,
|
||||
// Custom operators are allowed
|
||||
'operator': /:=|[=<>@^|&+\-*\/$%!?~][!$%&\*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lxor|lsl|lsr|mod|nor|or)\b/,
|
||||
'punctuation': /[(){}\[\]|_.,:;]/
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue