mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
23 lines
356 B
JavaScript
23 lines
356 B
JavaScript
define( [
|
|
"../var/document",
|
|
"../var/support"
|
|
], function( document, support ) {
|
|
|
|
( function() {
|
|
var div = document.createElement( "div" );
|
|
|
|
// Support: IE<9
|
|
support.deleteExpando = true;
|
|
try {
|
|
delete div.test;
|
|
} catch ( e ) {
|
|
support.deleteExpando = false;
|
|
}
|
|
|
|
// Null elements to avoid leaks in IE.
|
|
div = null;
|
|
} )();
|
|
|
|
return support;
|
|
|
|
} );
|