Fixed jshint problems.
This commit is contained in:
parent
1e43a2f9e3
commit
2f19640ce1
|
@ -29,12 +29,12 @@ jQuery( function( $ ) {
|
||||||
if ( 1 === this.requests.length ) {
|
if ( 1 === this.requests.length ) {
|
||||||
this.run();
|
this.run();
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Run add to cart events.
|
* Run add to cart events.
|
||||||
*/
|
*/
|
||||||
AddToCartHandler.prototype.run = function( e ) {
|
AddToCartHandler.prototype.run = function() {
|
||||||
var requestManager = this,
|
var requestManager = this,
|
||||||
originalCallback = requestManager.requests[0].complete;
|
originalCallback = requestManager.requests[0].complete;
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ jQuery( function( $ ) {
|
||||||
};
|
};
|
||||||
|
|
||||||
$.ajax( this.requests[0] );
|
$.ajax( this.requests[0] );
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handle the add to cart event.
|
* Handle the add to cart event.
|
||||||
|
|
Loading…
Reference in New Issue