Skip to main content

Bug Tracker

Side navigation

Ticket #6677: 1.4.3.pre_dist_jquery_diff.txt


File 1.4.3.pre_dist_jquery_diff.txt, 1.9 KB (added by msamuel, June 15, 2010 10:32PM UTC)

Diff after running linter over dist/jquery.js

*** dist/jquery.js	Tue Jun  1 17:07:59 2010
--- dist/jquery.mod.js	Tue Jun  1 17:03:09 2010
***************
*** 4542,4548 ****
  		}
  
  		if ( fragment ) {
! 			for ( i = 0; ret[i]; i++ ) {
  				if ( scripts && jQuery.nodeName( ret[i], "script" ) && (!ret[i].type || ret[i].type.toLowerCase() === "text/javascript") ) {
  					scripts.push( ret[i].parentNode ? ret[i].parentNode.removeChild( ret[i] ) : ret[i] );
  				
--- 4542,4548 ----
  		}
  
  		if ( fragment ) {
! 			for ( var i = 0; ret[i]; i++ ) {
  				if ( scripts && jQuery.nodeName( ret[i], "script" ) && (!ret[i].type || ret[i].type.toLowerCase() === "text/javascript") ) {
  					scripts.push( ret[i].parentNode ? ret[i].parentNode.removeChild( ret[i] ) : ret[i] );
  				
***************
*** 4695,4700 ****
--- 4695,4701 ----
  
  	css: function( elem, name, force, extra ) {
  		if ( name === "width" || name === "height" ) {
+                         var val;
  			if ( elem.offsetWidth !== 0 ) {
  				val = getWH( elem, name, extra );
  
***************
*** 4799,4805 ****
  		callback.call( elem );
  
  		// Revert the old values
! 		for ( name in options ) {
  			elem.style[ name ] = old[ name ];
  		}
  	}
--- 4800,4806 ----
  		callback.call( elem );
  
  		// Revert the old values
! 		for ( var name in options ) {
  			elem.style[ name ] = old[ name ];
  		}
  	}
***************
*** 5324,5330 ****
  			xhr.send( type === "POST" || type === "PUT" || type === "DELETE" ? s.data : null );
  
  		} catch( sendError ) {
! 			jQuery.ajax.handleError( s, xhr, null, e );
  
  			// Fire the complete handlers
  			jQuery.ajax.handleComplete( s, xhr, status, data );
--- 5325,5331 ----
  			xhr.send( type === "POST" || type === "PUT" || type === "DELETE" ? s.data : null );
  
  		} catch( sendError ) {
! 			jQuery.ajax.handleError( s, xhr, null, sendError );
  
  			// Fire the complete handlers
  			jQuery.ajax.handleComplete( s, xhr, status, data );

Download in other formats:

Original Format