🚧 Fix code style

This commit is contained in:
Philipp Stracker 2024-10-07 11:35:39 +02:00
parent 9322812caa
commit 0ef461e4b2
No known key found for this signature in database

View file

@ -92,28 +92,28 @@ class ApplePayButton extends PaymentButton {
initialPaymentRequest = null;
constructor(
context,
externalHandler,
buttonConfig,
ppcpConfig,
contextHandler
) {
// Disable debug output in the browser console:
// buttonConfig.is_debug = false;
context,
externalHandler,
buttonConfig,
ppcpConfig,
contextHandler
) {
// Disable debug output in the browser console:
// buttonConfig.is_debug = false;
super(
context,
externalHandler,
buttonConfig,
ppcpConfig,
contextHandler
);
super(
context,
externalHandler,
buttonConfig,
ppcpConfig,
contextHandler
);
this.init = this.init.bind( this );
this.onPaymentAuthorized = this.onPaymentAuthorized.bind( this );
this.onButtonClick = this.onButtonClick.bind( this );
this.init = this.init.bind( this );
this.onPaymentAuthorized = this.onPaymentAuthorized.bind( this );
this.onButtonClick = this.onButtonClick.bind( this );
this.log( 'Create instance' );
this.log( 'Create instance' );
}
/**