Sha256: 81605964ffffa9bcac2fcddb563b0c62631bac7e695f1adbced6fc5c189d8399

Contents?: true

Size: 893 Bytes

Versions: 417

Compression:

Stored size: 893 Bytes

Contents

define([
	"../var/support"
], function( support ) {

(function() {
	var input = document.createElement( "input" ),
		select = document.createElement( "select" ),
		opt = select.appendChild( document.createElement( "option" ) );

	input.type = "checkbox";

	// Support: iOS<=5.1, Android<=4.2+
	// Default value for a checkbox should be "on"
	support.checkOn = input.value !== "";

	// Support: IE<=11+
	// Must access selectedIndex to make default options select
	support.optSelected = opt.selected;

	// 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;

});

Version data entries

417 entries across 417 versions & 30 rubygems

Version Path
abstracted-0.4.17 vendor/assets/components/jquery/src/attributes/support.js
abstracted-0.4.16 vendor/assets/components/jquery/src/attributes/support.js
abstracted-0.4.15 vendor/assets/components/jquery/src/attributes/support.js
abstracted-0.4.14 vendor/assets/components/jquery/src/attributes/support.js
middleman-core-4.2.1 fixtures/import-app/bower_components/jquery/src/attributes/support.js
trusty-festivity-extension-2.6.3 vendor/assets/components/jquery/src/attributes/support.js
trusty-festivity-extension-2.6.2 vendor/assets/components/jquery/src/attributes/support.js
unpoly-rails-0.32.0 spec_app/vendor/assets/bower_components/jquery/src/attributes/support.js
middleman-core-4.2.0 fixtures/import-app/bower_components/jquery/src/attributes/support.js
trusty-festivity-extension-2.6.1 vendor/assets/components/jquery/src/attributes/support.js
middleman-core-4.1.14 fixtures/import-app/bower_components/jquery/src/attributes/support.js
middleman-core-4.1.13 fixtures/import-app/bower_components/jquery/src/attributes/support.js
trusty-festivity-extension-2.6 vendor/assets/components/jquery/src/attributes/support.js
active_record_survey_api-0.0.19 spec/test_app/vendor/assets/bower_components/jquery/src/attributes/support.js
active_record_survey_api-0.0.18 spec/test_app/vendor/assets/bower_components/jquery/src/attributes/support.js
middleman-core-4.1.12 fixtures/import-app/bower_components/jquery/src/attributes/support.js
active_record_survey_api-0.0.17 spec/test_app/vendor/assets/bower_components/jquery/src/attributes/support.js
active_record_survey_api-0.0.14 spec/test_app/vendor/assets/bower_components/jquery/src/attributes/support.js
abstracted-0.4.13 vendor/assets/components/jquery/src/attributes/support.js
unpoly-rails-0.31.2 spec_app/vendor/assets/bower_components/jquery/src/attributes/support.js