mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update scheduled tasks page
This commit is contained in:
parent
f73a917448
commit
1ac9bfe5aa
65 changed files with 8424 additions and 48 deletions
55
dashboard-ui/bower_components/get-style-property/get-style-property.js
vendored
Normal file
55
dashboard-ui/bower_components/get-style-property/get-style-property.js
vendored
Normal file
|
@ -0,0 +1,55 @@
|
|||
/*!
|
||||
* getStyleProperty v1.0.4
|
||||
* original by kangax
|
||||
* http://perfectionkills.com/feature-testing-css-properties/
|
||||
* MIT license
|
||||
*/
|
||||
|
||||
/*jshint browser: true, strict: true, undef: true */
|
||||
/*global define: false, exports: false, module: false */
|
||||
|
||||
( function( window ) {
|
||||
|
||||
'use strict';
|
||||
|
||||
var prefixes = 'Webkit Moz ms Ms O'.split(' ');
|
||||
var docElemStyle = document.documentElement.style;
|
||||
|
||||
function getStyleProperty( propName ) {
|
||||
if ( !propName ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// test standard property first
|
||||
if ( typeof docElemStyle[ propName ] === 'string' ) {
|
||||
return propName;
|
||||
}
|
||||
|
||||
// capitalize
|
||||
propName = propName.charAt(0).toUpperCase() + propName.slice(1);
|
||||
|
||||
// test vendor specific properties
|
||||
var prefixed;
|
||||
for ( var i=0, len = prefixes.length; i < len; i++ ) {
|
||||
prefixed = prefixes[i] + propName;
|
||||
if ( typeof docElemStyle[ prefixed ] === 'string' ) {
|
||||
return prefixed;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// transport
|
||||
if ( typeof define === 'function' && define.amd ) {
|
||||
// AMD
|
||||
define( function() {
|
||||
return getStyleProperty;
|
||||
});
|
||||
} else if ( typeof exports === 'object' ) {
|
||||
// CommonJS for Component
|
||||
module.exports = getStyleProperty;
|
||||
} else {
|
||||
// browser global
|
||||
window.getStyleProperty = getStyleProperty;
|
||||
}
|
||||
|
||||
})( window );
|
Loading…
Add table
Add a link
Reference in a new issue