mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-19 03:48:18 -07:00
20 lines
316 B
JavaScript
20 lines
316 B
JavaScript
|
(function(){
|
||
|
|
||
|
if (
|
||
|
typeof self !== 'undefined' && !self.Prism ||
|
||
|
typeof global !== 'undefined' && !global.Prism
|
||
|
) {
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
for (var language in Prism.languages) {
|
||
|
var tokens = Prism.languages[language];
|
||
|
|
||
|
tokens.tab = /\t/g;
|
||
|
tokens.crlf = /\r\n/g;
|
||
|
tokens.lf = /\n/g;
|
||
|
tokens.cr = /\r/g;
|
||
|
}
|
||
|
|
||
|
})();
|