diff options
author | Eran (ev672n), Vosk <ev672n@att.com> | 2018-10-29 18:38:10 +0200 |
---|---|---|
committer | Eran (ev672n), Vosk <ev672n@att.com> | 2018-10-29 18:38:10 +0200 |
commit | bb60d2fc7c06ec661e4c66ac8778e1f2070103cd (patch) | |
tree | 2497848e3667f0ec99b2bea61e129c52dd37db60 /app/bower_components/jquery/src/manipulation/support.js | |
parent | bdc15ad66739869abef7413e5da40191875781d1 (diff) |
Sync code3.0.0-ONAP1.2.0casablanca
Sync the code between repositories
Change-Id: Ic431c58c68716b6d401954fb854a183e0d222f57
Issue-ID: SDC-1874
Signed-off-by: Eran (ev672n), Vosk <ev672n@att.com>
Diffstat (limited to 'app/bower_components/jquery/src/manipulation/support.js')
-rw-r--r-- | app/bower_components/jquery/src/manipulation/support.js | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/app/bower_components/jquery/src/manipulation/support.js b/app/bower_components/jquery/src/manipulation/support.js new file mode 100644 index 0000000..cd4081e --- /dev/null +++ b/app/bower_components/jquery/src/manipulation/support.js @@ -0,0 +1,33 @@ +define( [ + "../var/document", + "../var/support" +], function( document, support ) { + +( function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Android 4.0-4.3, Safari<=5.1 + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Safari<=5.1, Android<4.2 + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE<=11+ + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = "<textarea>x</textarea>"; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; +} )(); + +return support; + +} ); |