Skip to content

Commit

Permalink
utils files structure changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Oksydan committed Oct 23, 2023
1 parent fa7db31 commit 39844a8
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import prestashop from 'prestashop';
import { formSerializeArray, fromSerializeObject } from '../../../../../utils/formSerialize';
import { formSerializeArray, fromSerializeObject } from '../../../../../utils/form/formSerialize';
import selectDeliveryMethodRequest from '../../request/selectDeliveryMethodRequest';
import refreshCheckoutPage from '../../utils/refreshCheckoutPage';
import { each, parseToHtml } from '../../../../../utils/DOM/DOMHelpers';
Expand Down
2 changes: 1 addition & 1 deletion _dev/js/theme/components/useStickyElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import debounce from '../../utils/debounce';
import debounce from '../../utils/misc/debounce';

/**
* Returns sticky element data
Expand Down
2 changes: 1 addition & 1 deletion _dev/js/theme/core/cart/handler/cart/addToCartHandler.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import prestashop from 'prestashop';
import useAlertToast from '../../../../components/useAlertToast';
import addToCartRequest from '../../request/cart/addToCartRequest';
import sprintf from '../../../../../utils/sprintf';
import sprintf from '../../../../../utils/misc/sprintf';

const { danger } = useAlertToast();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import productStateStore from '../../store/productStateStore';
import updateQuantityInputHandler from './updateQuantityInputHandler';
import updateProductCustomizationHandler from './updateProductCustomizationHandler';
import updateProductDOMElementsHandler from './updateProductDOMElementsHandler';
import { fromSerializeObject } from '../../../../../utils/formSerialize';
import { fromSerializeObject } from '../../../../../utils/form/formSerialize';
import productEventContextSelector from '../../utils/productEventContextSelector';

const { getCurrentRequestDelayedId, setCurrentRequestDelayedId } = productStateStore();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { formSerializeArray } from '../../../../utils/formSerialize';
import { formSerializeArray } from '../../../../utils/form/formSerialize';

let formData = [];

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion _dev/js/utils/http/useHttpController.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import getUniqueId from '../getUniqueId';
import getUniqueId from '../misc/getUniqueId';

/**
* @module useHttpController
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 39844a8

Please sign in to comment.