From 0ef461e4b24d952819c59d31933dafa5cc172992 Mon Sep 17 00:00:00 2001 From: Philipp Stracker Date: Mon, 7 Oct 2024 11:35:39 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20Fix=20code=20style?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/js/ApplepayButton.js | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/modules/ppcp-applepay/resources/js/ApplepayButton.js b/modules/ppcp-applepay/resources/js/ApplepayButton.js index 87d220c84..6038ac7e9 100644 --- a/modules/ppcp-applepay/resources/js/ApplepayButton.js +++ b/modules/ppcp-applepay/resources/js/ApplepayButton.js @@ -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' ); } /**