Sha256: 80e433da577b7ee3613fc3e637dbab7ccec50dc94a49c3f6f2010b5a260255a6

Contents?: true

Size: 617 Bytes

Versions: 2

Compression:

Stored size: 617 Bytes

Contents

//= require jquery-ui-test/version

( function( factory ) {
	"use strict";

	if ( typeof define === "function" && define.amd ) {

		// AMD. Register as an anonymous module.
		define( [ "jquery", "./version" ], factory );
	} else {

		// Browser globals
		factory( jQuery );
	}
} )( function( $ ) {
"use strict";

// Support: IE8 Only
// IE8 does not support the form attribute and when it is supplied. It overwrites the form prop
// with a string, so we need to find the proper form.
return $.fn._form = function() {
	return typeof this[ 0 ].form === "string" ? this.closest( "form" ) : $( this[ 0 ].form );
};

} );

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jquery-ui-rails-test-6.0.4 app/assets/javascripts/jquery-ui-test/form.js
jquery-ui-rails-test-6.0.3 app/assets/javascripts/jquery-ui-test/form.js