1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

removed all unecessary polifys

This commit is contained in:
vitorsemeano 2019-02-27 00:10:31 +00:00
parent 9ad29733bf
commit 32d9a1549d
5 changed files with 0 additions and 126 deletions

View file

@ -491,22 +491,6 @@ var AppInfo = {};
promises.push(require(["fetch"]));
}
if ("function" != typeof Object.assign) {
promises.push(require(["objectassign"]));
}
if (!Array.prototype.filter) {
promises.push(require(["arraypolyfills"]));
}
if (!Function.prototype.bind) {
promises.push(require(["functionbind"]));
}
if (!window.requestAnimationFrame) {
promises.push(require(["raf"]));
}
Promise.all(promises).then(function () {
createConnectionManager().then(function () {
console.log("initAfterDependencies promises resolved");
@ -867,10 +851,6 @@ var AppInfo = {};
define("dashboardcss", ["css!css/dashboard"], returnFirstDependency);
define("slideshow", [componentsPath + "/slideshow/slideshow"], returnFirstDependency);
define("fetch", [bowerPath + "/fetch/fetch"], returnFirstDependency);
define("raf", [componentsPath + "/polyfills/raf"], returnFirstDependency);
define("functionbind", [componentsPath + "/polyfills/bind"], returnFirstDependency);
define("arraypolyfills", [componentsPath + "/polyfills/array"], returnFirstDependency);
define("objectassign", [componentsPath + "/polyfills/objectassign"], returnFirstDependency);
define("clearButtonStyle", ["css!" + componentsPath + "/clearbutton"], returnFirstDependency);
define("userdataButtons", [componentsPath + "/userdatabuttons/userdatabuttons"], returnFirstDependency);
define("emby-playstatebutton", [componentsPath + "/userdatabuttons/emby-playstatebutton"], returnFirstDependency);