mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Move polyfills to bundle
This commit is contained in:
parent
d69610dc70
commit
ca01ca50b1
5 changed files with 27 additions and 7206 deletions
|
@ -97,6 +97,8 @@ _define("material-icons", function() {
|
|||
return material_icons;
|
||||
});
|
||||
|
||||
// Noto Sans
|
||||
|
||||
var jellyfin_noto = require("jellyfin-noto");
|
||||
_define("jellyfin-noto", function () {
|
||||
return jellyfin_noto;
|
||||
|
@ -107,3 +109,8 @@ var page = require("page");
|
|||
_define("page", function() {
|
||||
return page;
|
||||
});
|
||||
|
||||
var polyfill = require("@babel/polyfill/dist/polyfill");
|
||||
_define("polyfill", function () {
|
||||
return polyfill;
|
||||
});
|
||||
|
|
7203
src/polyfill.js
7203
src/polyfill.js
File diff suppressed because it is too large
Load diff
|
@ -738,7 +738,8 @@ var AppInfo = {};
|
|||
"webcomponents",
|
||||
"material-icons",
|
||||
"jellyfin-noto",
|
||||
"page"
|
||||
"page",
|
||||
"polyfill"
|
||||
]
|
||||
},
|
||||
urlArgs: urlArgs,
|
||||
|
@ -746,6 +747,8 @@ var AppInfo = {};
|
|||
onError: onRequireJsError
|
||||
});
|
||||
|
||||
require(["polyfill"]);
|
||||
|
||||
// Expose jQuery globally
|
||||
require(["jQuery"], function(jQuery) {
|
||||
window.$ = jQuery;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue