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
31
dashboard-ui/bower_components/prism/components/prism-smalltalk.js
vendored
Normal file
31
dashboard-ui/bower_components/prism/components/prism-smalltalk.js
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
Prism.languages.smalltalk = {
|
||||
'comment': /"(?:""|[^"])+"/,
|
||||
'string': /'(?:''|[^'])+'/,
|
||||
'symbol': /#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,
|
||||
'block-arguments': {
|
||||
pattern: /(\[\s*):[^\[|]*?\|/,
|
||||
lookbehind: true,
|
||||
inside: {
|
||||
'variable': /:[\da-z]+/i,
|
||||
'punctuation': /\|/
|
||||
}
|
||||
},
|
||||
'temporary-variables': {
|
||||
pattern: /\|[^|]+\|/,
|
||||
inside: {
|
||||
'variable': /[\da-z]+/i,
|
||||
'punctuation': /\|/
|
||||
}
|
||||
},
|
||||
'keyword': /\b(?:nil|true|false|self|super|new)\b/,
|
||||
'character': {
|
||||
pattern: /\$./,
|
||||
alias: 'string'
|
||||
},
|
||||
'number': [
|
||||
/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,
|
||||
/(?:\B-|\b)\d+(?:\.\d+)?(?:e-?\d+)?/
|
||||
],
|
||||
'operator': /[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,
|
||||
'punctuation': /[.;:?\[\](){}]/
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue