25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 
 

24 satır
581 B

  1. ( function( factory ) {
  2. "use strict";
  3. if ( typeof define === "function" && define.amd ) {
  4. // AMD. Register as an anonymous module.
  5. define( [ "jquery", "./version" ], factory );
  6. } else {
  7. // Browser globals
  8. factory( jQuery );
  9. }
  10. } )( function( $ ) {
  11. "use strict";
  12. // Support: IE8 Only
  13. // IE8 does not support the form attribute and when it is supplied. It overwrites the form prop
  14. // with a string, so we need to find the proper form.
  15. return $.fn._form = function() {
  16. return typeof this[ 0 ].form === "string" ? this.closest( "form" ) : $( this[ 0 ].form );
  17. };
  18. } );