@pernod-ricard-global-cms/jsutils 1.4.1 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/jsutils.js +4 -4
- package/package.json +1 -1
package/jsutils.js
CHANGED
|
@@ -170,7 +170,7 @@ export function footerIntersection( entries, element ) {
|
|
|
170
170
|
export function getSwiperAssets() {
|
|
171
171
|
const getSwiperJs = () =>
|
|
172
172
|
import(
|
|
173
|
-
/* webpackChunkName: 'swiper' */ '../../swiper/swiper-bundle'
|
|
173
|
+
/* webpackChunkName: 'swiper' */ '../../swiper/swiper-bundle.js'
|
|
174
174
|
);
|
|
175
175
|
|
|
176
176
|
const getSwiperCss = () =>
|
|
@@ -191,7 +191,7 @@ export function getJquery() {
|
|
|
191
191
|
if ( ! window.jQuery ) {
|
|
192
192
|
const importCode = () =>
|
|
193
193
|
import(
|
|
194
|
-
/* webpackChunkName: 'jquery' */ '../../jquery/dist/jquery.min'
|
|
194
|
+
/* webpackChunkName: 'jquery' */ '../../jquery/dist/jquery.min.js'
|
|
195
195
|
);
|
|
196
196
|
return importCode();
|
|
197
197
|
}
|
|
@@ -200,13 +200,13 @@ export function getJquery() {
|
|
|
200
200
|
|
|
201
201
|
export function getGsap() {
|
|
202
202
|
const gsapCore = () =>
|
|
203
|
-
import( '../../gsap/dist/gsap.min' ).then( ( gsapObj ) => {
|
|
203
|
+
import( '../../gsap/dist/gsap.min.js' ).then( ( gsapObj ) => {
|
|
204
204
|
const { gsap } = gsapObj;
|
|
205
205
|
return gsap;
|
|
206
206
|
} );
|
|
207
207
|
|
|
208
208
|
const gsapPlugin = () =>
|
|
209
|
-
import( '../../gsap/dist/ScrollTrigger.min' ).then(
|
|
209
|
+
import( '../../gsap/dist/ScrollTrigger.min.js' ).then(
|
|
210
210
|
( scrollObj ) => {
|
|
211
211
|
const ScrollTrigger = scrollObj;
|
|
212
212
|
return ScrollTrigger;
|