mirror of
https://github.com/jquery/jquery.git
synced 2026-01-25 09:28:05 -05:00
26 lines
439 B
JavaScript
26 lines
439 B
JavaScript
define([
|
|
"../var/support"
|
|
], function( support ) {
|
|
|
|
(function () {
|
|
var div = document.createElement( "div" );
|
|
|
|
// Execute the test only if not already executed in another module.
|
|
if (support.deleteExpando == null) {
|
|
// 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;
|
|
|
|
});
|