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
17
dashboard-ui/bower_components/prism/plugins/highlight-keywords/prism-highlight-keywords.js
vendored
Normal file
17
dashboard-ui/bower_components/prism/plugins/highlight-keywords/prism-highlight-keywords.js
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
(function(){
|
||||
|
||||
if (
|
||||
typeof self !== 'undefined' && !self.Prism ||
|
||||
typeof global !== 'undefined' && !global.Prism
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
Prism.hooks.add('wrap', function(env) {
|
||||
if (env.type !== "keyword") {
|
||||
return;
|
||||
}
|
||||
env.classes.push('keyword-' + env.content);
|
||||
});
|
||||
|
||||
})();
|
|
@ -0,0 +1 @@
|
|||
!function(){"undefined"!=typeof self&&!self.Prism||"undefined"!=typeof global&&!global.Prism||Prism.hooks.add("wrap",function(e){"keyword"===e.type&&e.classes.push("keyword-"+e.content)})}();
|
Loading…
Add table
Add a link
Reference in a new issue