nexus site path corrected
[portal.git] / ecomp-portal-FE / client / bower_components / jquery / src / manipulation / support.js
1 define( [
2         "../var/document",
3         "../var/support"
4 ], function( document, support ) {
5
6 ( function() {
7         var fragment = document.createDocumentFragment(),
8                 div = fragment.appendChild( document.createElement( "div" ) ),
9                 input = document.createElement( "input" );
10
11         // Support: Android 4.0-4.3, Safari<=5.1
12         // Check state lost if the name is set (#11217)
13         // Support: Windows Web Apps (WWA)
14         // `name` and `type` must use .setAttribute for WWA (#14901)
15         input.setAttribute( "type", "radio" );
16         input.setAttribute( "checked", "checked" );
17         input.setAttribute( "name", "t" );
18
19         div.appendChild( input );
20
21         // Support: Safari<=5.1, Android<4.2
22         // Older WebKit doesn't clone checked state correctly in fragments
23         support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked;
24
25         // Support: IE<=11+
26         // Make sure textarea (and checkbox) defaultValue is properly cloned
27         div.innerHTML = "<textarea>x</textarea>";
28         support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue;
29 } )();
30
31 return support;
32
33 } );