mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-15 18:08:17 -07:00
revert back document-register-element
This commit is contained in:
parent
e3c21d56d5
commit
be886982a2
@ -4,6 +4,12 @@
|
||||
// Use define from require.js not webpack's define
|
||||
var _define = window.define;
|
||||
|
||||
// document-register-element
|
||||
var docRegister = require("document-register-element");
|
||||
_define("document-register-element", function() {
|
||||
return docRegister;
|
||||
});
|
||||
|
||||
// fetch
|
||||
var fetch = require("whatwg-fetch");
|
||||
_define("fetch", function() {
|
||||
|
@ -412,7 +412,7 @@ var AppInfo = {};
|
||||
} else if (browser.msie) {
|
||||
define("registerElement", [bowerPath + "/webcomponents-lite.min.js"], returnFirstDependency);
|
||||
} else {
|
||||
define("registerElement", [bowerPath + "/document-register-element"], returnFirstDependency);
|
||||
define("registerElement", ["document-register-element"], returnFirstDependency);
|
||||
}
|
||||
|
||||
define("imageFetcher", [componentsPath + "/images/imageFetcher"], returnFirstDependency);
|
||||
@ -681,6 +681,7 @@ var AppInfo = {};
|
||||
},
|
||||
bundles: {
|
||||
bundle: [
|
||||
"document-register-element",
|
||||
"fetch",
|
||||
"flvjs",
|
||||
"jstree",
|
||||
|
@ -6,8 +6,7 @@ const CopyPlugin = require("copy-webpack-plugin");
|
||||
const Assets = [
|
||||
"alameda/alameda.js",
|
||||
"requirejs/require.js",
|
||||
"webcomponents.js-2/webcomponents-lite.min.js",
|
||||
"document-register-element/build/document-register-element.js"
|
||||
"webcomponents.js-2/webcomponents-lite.min.js"
|
||||
];
|
||||
|
||||
module.exports = {
|
||||
|
Loading…
Reference in New Issue
Block a user