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
19
dashboard-ui/bower_components/prism/plugins/show-invisibles/prism-show-invisibles.js
vendored
Normal file
19
dashboard-ui/bower_components/prism/plugins/show-invisibles/prism-show-invisibles.js
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
(function(){
|
||||
|
||||
if (
|
||||
typeof self !== 'undefined' && !self.Prism ||
|
||||
typeof global !== 'undefined' && !global.Prism
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
Prism.hooks.add('before-highlight', function(env) {
|
||||
var tokens = env.grammar;
|
||||
|
||||
tokens.tab = /\t/g;
|
||||
tokens.crlf = /\r\n/g;
|
||||
tokens.lf = /\n/g;
|
||||
tokens.cr = /\r/g;
|
||||
tokens.space = / /g;
|
||||
});
|
||||
})();
|
Loading…
Add table
Add a link
Reference in a new issue