🚧 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; initialPaymentRequest = null;
constructor( constructor(
context, context,
externalHandler, externalHandler,
buttonConfig, buttonConfig,
ppcpConfig, ppcpConfig,
contextHandler contextHandler
) { ) {
// Disable debug output in the browser console: // Disable debug output in the browser console:
// buttonConfig.is_debug = false; // buttonConfig.is_debug = false;
super( super(
context, context,
externalHandler, externalHandler,
buttonConfig, buttonConfig,
ppcpConfig, ppcpConfig,
contextHandler contextHandler
); );
this.init = this.init.bind( this ); this.init = this.init.bind( this );
this.onPaymentAuthorized = this.onPaymentAuthorized.bind( this ); this.onPaymentAuthorized = this.onPaymentAuthorized.bind( this );
this.onButtonClick = this.onButtonClick.bind( this ); this.onButtonClick = this.onButtonClick.bind( this );
this.log( 'Create instance' ); this.log( 'Create instance' );
} }
/** /**