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

add object assign polyfill

This commit is contained in:
Luke Pulverenti 2016-03-16 16:38:01 -04:00
parent 74505accb3
commit bd8391a61c
13 changed files with 145 additions and 103 deletions

View file

@ -1854,6 +1854,7 @@ var AppInfo = {};
define("slideshow", [embyWebComponentsBowerPath + "/slideshow/slideshow"], returnFirstDependency);
define('fetch', [bowerPath + '/fetch/fetch']);
define('objectassign', ['legacy/objectassign']);
define('webcomponentsjs', [bowerPath + '/webcomponentsjs/webcomponents-lite.min.js']);
define('native-promise-only', [bowerPath + '/native-promise-only/lib/npo.src']);
@ -2133,6 +2134,10 @@ var AppInfo = {};
deps.push('fetch');
}
if (typeof Object.assign != 'function') {
deps.push('objectassign');
}
require(deps, function (connectionManagerExports, credentialProviderFactory) {
window.MediaBrowser = window.MediaBrowser || {};
@ -2403,13 +2408,14 @@ var AppInfo = {};
defineRoute({
path: '/home.html',
dependencies: ['jQuery'],
autoFocus: false
dependencies: ['paper-tabs', 'neon-animated-pages'],
autoFocus: false,
controller: 'scripts/indexpage'
});
defineRoute({
path: '/index.html',
dependencies: ['jQuery'],
dependencies: [],
autoFocus: false,
isDefaultRoute: true
});