merge from dev
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
define([
|
||||
define( [
|
||||
"../var/document",
|
||||
"../var/support"
|
||||
], function( support ) {
|
||||
], function( document, support ) {
|
||||
|
||||
(function() {
|
||||
( function() {
|
||||
var fragment = document.createDocumentFragment(),
|
||||
div = fragment.appendChild( document.createElement( "div" ) ),
|
||||
input = document.createElement( "input" );
|
||||
|
||||
// Support: Safari<=5.1
|
||||
// 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)
|
||||
@@ -25,8 +26,8 @@ define([
|
||||
// Make sure textarea (and checkbox) defaultValue is properly cloned
|
||||
div.innerHTML = "<textarea>x</textarea>";
|
||||
support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue;
|
||||
})();
|
||||
} )();
|
||||
|
||||
return support;
|
||||
|
||||
});
|
||||
} );
|
||||
|
||||
Reference in New Issue
Block a user