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

removed dead code

This commit is contained in:
Luke Pulverenti 2016-03-02 14:09:40 -05:00
parent 664fca62a6
commit dfd3548951
7 changed files with 14 additions and 30 deletions

View file

@ -15,12 +15,12 @@
},
"devDependencies": {},
"ignore": [],
"version": "1.1.13",
"_release": "1.1.13",
"version": "1.1.14",
"_release": "1.1.14",
"_resolution": {
"type": "version",
"tag": "1.1.13",
"commit": "b4ee66ca683d87f985f45e44ef75ec6c11049637"
"tag": "1.1.14",
"commit": "b9f516b0c3d6a97239b165c88b24c2a0d14261fa"
},
"_source": "git://github.com/MediaBrowser/emby-webcomponents.git",
"_target": "~1.1.5",

View file

@ -1,4 +1,4 @@
define(['historyManager', 'focusManager', 'performanceManager', 'browser', 'layoutManager', 'paper-dialog', 'scale-up-animation', 'fade-out-animation', 'fade-in-animation', 'css!./paperdialoghelper.css'], function (historyManager, focusManager, performanceManager, browser, layoutManager) {
define(['historyManager', 'focusManager', 'browser', 'layoutManager', 'paper-dialog', 'scale-up-animation', 'fade-out-animation', 'fade-in-animation', 'css!./paperdialoghelper.css'], function (historyManager, focusManager, browser, layoutManager) {
function paperDialogHashHandler(dlg, hash, resolve) {
@ -143,7 +143,7 @@
// seeing max call stack size exceeded in the debugger with this
dlg.setAttribute('noAutoFocus', 'noAutoFocus');
var defaultEntryAnimation = performanceManager.getAnimationPerformance() <= 1 ? 'fade-in-animation' : 'scale-up-animation';
var defaultEntryAnimation = browser.animate ? 'scale-up-animation' : 'fade-in-animation';
dlg.entryAnimation = options.entryAnimation || defaultEntryAnimation;
dlg.exitAnimation = 'fade-out-animation';

View file

@ -1,15 +0,0 @@
define(['browser'], function (browser) {
function getAnimationPerformance() {
if (browser.mobile) {
return 1;
}
return 5;
}
return {
getAnimationPerformance: getAnimationPerformance
};
});