File "boot-admin.js"
Full Path: /home/siazco/grocery.siazco.se/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-applepay/resources/js/boot-admin.js
File size: 444 bytes
MIME-type: text/x-java
Charset: utf-8
import ApplePayPreviewButtonManager from './Preview/ApplePayPreviewButtonManager';
/**
* Accessor that creates and returns a single PreviewButtonManager instance.
*/
const buttonManager = () => {
if ( ! ApplePayPreviewButtonManager.instance ) {
ApplePayPreviewButtonManager.instance =
new ApplePayPreviewButtonManager();
}
return ApplePayPreviewButtonManager.instance;
};
// Initialize the preview button manager.
buttonManager();