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
14
dashboard-ui/bower_components/prism/components/prism-matlab.js
vendored
Normal file
14
dashboard-ui/bower_components/prism/components/prism-matlab.js
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
Prism.languages.matlab = {
|
||||
// We put string before comment, because of printf() patterns that contain "%"
|
||||
'string': /\B'(?:''|[^'\n])*'/,
|
||||
'comment': [
|
||||
/%\{[\s\S]*?\}%/,
|
||||
/%.+/
|
||||
],
|
||||
// FIXME We could handle imaginary numbers as a whole
|
||||
'number': /\b-?(?:\d*\.?\d+(?:[eE][+-]?\d+)?(?:[ij])?|[ij])\b/,
|
||||
'keyword': /\b(?:break|case|catch|continue|else|elseif|end|for|function|if|inf|NaN|otherwise|parfor|pause|pi|return|switch|try|while)\b/,
|
||||
'function': /(?!\d)\w+(?=\s*\()/,
|
||||
'operator': /\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,
|
||||
'punctuation': /\.{3}|[.,;\[\](){}!]/
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue