mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
🚧 Fix code style
This commit is contained in:
parent
9322812caa
commit
0ef461e4b2
1 changed files with 19 additions and 19 deletions
|
@ -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' );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue