scratch

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 124  →  ?path2? @ 125
/bower_components/jquery/src/attributes/support.js
@@ -1,11 +1,8 @@
define( [
"../var/document",
define([
"../var/support"
], function( document, support ) {
], function( support ) {
 
"use strict";
 
( function() {
(function() {
var input = document.createElement( "input" ),
select = document.createElement( "select" ),
opt = select.appendChild( document.createElement( "option" ) );
@@ -12,22 +9,27 @@
 
input.type = "checkbox";
 
// Support: Android <=4.3 only
// Support: iOS<=5.1, Android<=4.2+
// Default value for a checkbox should be "on"
support.checkOn = input.value !== "";
 
// Support: IE <=11 only
// Support: IE<=11+
// Must access selectedIndex to make default options select
support.optSelected = opt.selected;
 
// Support: IE <=11 only
// Support: Android<=2.3
// Options inside disabled selects are incorrectly marked as disabled
select.disabled = true;
support.optDisabled = !opt.disabled;
 
// Support: IE<=11+
// An input loses its value after becoming a radio
input = document.createElement( "input" );
input.value = "t";
input.type = "radio";
support.radioValue = input.value === "t";
} )();
})();
 
return support;
 
} );
});