mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 06:52:50 +08:00
Rename the new script loading script
This commit is contained in:
parent
eba3d12e4e
commit
e76c8b257b
9 changed files with 153 additions and 95 deletions
|
@ -1,5 +1,5 @@
|
|||
import AxoManager from './AxoManager';
|
||||
import UnifiedScriptLoader from '../../../ppcp-button/resources/js/modules/Helper/UnifiedScriptLoader';
|
||||
import { loadPayPalScript } from '../../../ppcp-button/resources/js/modules/Helper/PayPalScriptLoading';
|
||||
import { log } from './Helper/Debug';
|
||||
|
||||
( function ( { axoConfig, ppcpConfig, jQuery } ) {
|
||||
|
@ -15,7 +15,7 @@ import { log } from './Helper/Debug';
|
|||
}
|
||||
|
||||
// Load PayPal
|
||||
UnifiedScriptLoader.loadPayPalScript( namespace, ppcpConfig )
|
||||
loadPayPalScript( namespace, ppcpConfig )
|
||||
.then( () => {
|
||||
bootstrap();
|
||||
} )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue