mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Fix another batch of typos
This commit is contained in:
parent
1f83cbc108
commit
9fb76a966a
8 changed files with 17 additions and 17 deletions
|
@ -1,4 +1,4 @@
|
|||
import MessagesBootstrap from '../../../../ppcp-button/resources/js/modules/ContextBootstrap/MessagesBootstap';
|
||||
import MessagesBootstrap from '../../../../ppcp-button/resources/js/modules/ContextBootstrap/MessagesBootstrap';
|
||||
import { debounce } from '../Helper/debounce';
|
||||
|
||||
class BlockCheckoutMessagesBootstrap {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import MiniCartBootstap from './modules/ContextBootstrap/MiniCartBootstap';
|
||||
import SingleProductBootstap from './modules/ContextBootstrap/SingleProductBootstap';
|
||||
import CartBootstrap from './modules/ContextBootstrap/CartBootstap';
|
||||
import CheckoutBootstap from './modules/ContextBootstrap/CheckoutBootstap';
|
||||
import MiniCartBootstrap from './modules/ContextBootstrap/MiniCartBootstrap';
|
||||
import SingleProductBootstrap from './modules/ContextBootstrap/SingleProductBootstrap';
|
||||
import CartBootstrap from './modules/ContextBootstrap/CartBootstrap';
|
||||
import CheckoutBootstrap from './modules/ContextBootstrap/CheckoutBootstrap';
|
||||
import PayNowBootstrap from './modules/ContextBootstrap/PayNowBootstrap';
|
||||
import Renderer from './modules/Renderer/Renderer';
|
||||
import ErrorHandler from './modules/ErrorHandler';
|
||||
|
@ -23,7 +23,7 @@ import FormSaver from './modules/Helper/FormSaver';
|
|||
import FormValidator from './modules/Helper/FormValidator';
|
||||
import { loadPaypalScript } from './modules/Helper/ScriptLoading';
|
||||
import buttonModuleWatcher from './modules/ButtonModuleWatcher';
|
||||
import MessagesBootstrap from './modules/ContextBootstrap/MessagesBootstap';
|
||||
import MessagesBootstrap from './modules/ContextBootstrap/MessagesBootstrap';
|
||||
import { apmButtonsInit } from './modules/Helper/ApmButtons';
|
||||
|
||||
// TODO: could be a good idea to have a separate spinner for each gateway,
|
||||
|
@ -246,7 +246,7 @@ const bootstrap = () => {
|
|||
);
|
||||
|
||||
if ( PayPalCommerceGateway.mini_cart_buttons_enabled === '1' ) {
|
||||
const miniCartBootstrap = new MiniCartBootstap(
|
||||
const miniCartBootstrap = new MiniCartBootstrap(
|
||||
PayPalCommerceGateway,
|
||||
renderer,
|
||||
errorHandler
|
||||
|
@ -264,7 +264,7 @@ const bootstrap = () => {
|
|||
( PayPalCommerceGateway.single_product_buttons_enabled === '1' ||
|
||||
hasMessages() )
|
||||
) {
|
||||
const singleProductBootstrap = new SingleProductBootstap(
|
||||
const singleProductBootstrap = new SingleProductBootstrap(
|
||||
PayPalCommerceGateway,
|
||||
renderer,
|
||||
errorHandler
|
||||
|
@ -289,7 +289,7 @@ const bootstrap = () => {
|
|||
}
|
||||
|
||||
if ( context === 'checkout' ) {
|
||||
const checkoutBootstap = new CheckoutBootstap(
|
||||
const checkoutBootstap = new CheckoutBootstrap(
|
||||
PayPalCommerceGateway,
|
||||
renderer,
|
||||
spinner,
|
||||
|
|
|
@ -15,7 +15,7 @@ import {
|
|||
dispatchButtonEvent,
|
||||
} from '../Helper/PaymentButtonHelpers';
|
||||
|
||||
class CheckoutBootstap {
|
||||
class CheckoutBootstrap {
|
||||
constructor( gateway, renderer, spinner, errorHandler ) {
|
||||
this.gateway = gateway;
|
||||
this.renderer = renderer;
|
||||
|
@ -344,4 +344,4 @@ class CheckoutBootstap {
|
|||
}
|
||||
}
|
||||
|
||||
export default CheckoutBootstap;
|
||||
export default CheckoutBootstrap;
|
|
@ -1,7 +1,7 @@
|
|||
import CartActionHandler from '../ActionHandler/CartActionHandler';
|
||||
import BootstrapHelper from '../Helper/BootstrapHelper';
|
||||
|
||||
class MiniCartBootstap {
|
||||
class MiniCartBootstrap {
|
||||
constructor( gateway, renderer, errorHandler ) {
|
||||
this.gateway = gateway;
|
||||
this.renderer = renderer;
|
||||
|
@ -71,4 +71,4 @@ class MiniCartBootstap {
|
|||
}
|
||||
}
|
||||
|
||||
export default MiniCartBootstap;
|
||||
export default MiniCartBootstrap;
|
|
@ -1,7 +1,7 @@
|
|||
import CheckoutBootstap from './CheckoutBootstap';
|
||||
import CheckoutBootstrap from './CheckoutBootstrap';
|
||||
import { isChangePaymentPage } from '../Helper/Subscriptions';
|
||||
|
||||
class PayNowBootstrap extends CheckoutBootstap {
|
||||
class PayNowBootstrap extends CheckoutBootstrap {
|
||||
constructor( gateway, renderer, spinner, errorHandler ) {
|
||||
super( gateway, renderer, spinner, errorHandler );
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ import { strRemoveWord, strAddWord, throttle } from '../Helper/Utils';
|
|||
import merge from 'deepmerge';
|
||||
import { debounce } from '../../../../../ppcp-blocks/resources/js/Helper/debounce';
|
||||
|
||||
class SingleProductBootstap {
|
||||
class SingleProductBootstrap {
|
||||
constructor( gateway, renderer, errorHandler ) {
|
||||
this.gateway = gateway;
|
||||
this.renderer = renderer;
|
||||
|
@ -374,4 +374,4 @@ class SingleProductBootstap {
|
|||
}
|
||||
}
|
||||
|
||||
export default SingleProductBootstap;
|
||||
export default SingleProductBootstrap;
|
Loading…
Add table
Add a link
Reference in a new issue