Merge pull request #24151 from woocommerce/fix/jshint-error-fix

Fixed jshint problems
This commit is contained in:
Gerhard Potgieter 2019-07-15 13:12:17 +02:00 committed by GitHub
commit 620bde01e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -29,12 +29,12 @@ jQuery( function( $ ) {
if ( 1 === this.requests.length ) {
this.run();
}
}
};
/**
* Run add to cart events.
*/
AddToCartHandler.prototype.run = function( e ) {
AddToCartHandler.prototype.run = function() {
var requestManager = this,
originalCallback = requestManager.requests[0].complete;
@ -51,7 +51,7 @@ jQuery( function( $ ) {
};
$.ajax( this.requests[0] );
}
};
/**
* Handle the add to cart event.