@innovastudio/contentbuilder 1.5.63 → 1.5.64
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/package.json
CHANGED
|
@@ -74657,10 +74657,21 @@ function injectAssets(url, waitFor, callback) {
|
|
|
74657
74657
|
};
|
|
74658
74658
|
document.body.appendChild(script);
|
|
74659
74659
|
}
|
|
74660
|
+
|
|
74661
|
+
// Modified:
|
|
74660
74662
|
function isMobile$1() {
|
|
74663
|
+
if (typeof window === "undefined") {
|
|
74664
|
+
// This means we're on the server, return false or handle appropriately
|
|
74665
|
+
return false;
|
|
74666
|
+
}
|
|
74661
74667
|
return 'navigator' in window && window.navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(Android)|(PlayBook)|(BB10)|(BlackBerry)|(Opera Mini)|(IEMobile)|(webOS)|(MeeGo)/i);
|
|
74662
74668
|
}
|
|
74669
|
+
// Modified:
|
|
74663
74670
|
function isTouch$1() {
|
|
74671
|
+
if (typeof document === "undefined") {
|
|
74672
|
+
// This means we're on the server, return false or handle appropriately
|
|
74673
|
+
return false;
|
|
74674
|
+
}
|
|
74664
74675
|
return isMobile$1() !== null || document.createTouch !== undefined || 'ontouchstart' in window || 'onmsgesturechange' in window || navigator.msMaxTouchPoints;
|
|
74665
74676
|
}
|
|
74666
74677
|
function isFunction(f) {
|
|
@@ -76330,7 +76341,13 @@ class Slide {
|
|
|
76330
76341
|
const version = '3.2.0';
|
|
76331
76342
|
const isMobile = isMobile$1();
|
|
76332
76343
|
const isTouch = isTouch$1();
|
|
76333
|
-
|
|
76344
|
+
|
|
76345
|
+
// Modified:
|
|
76346
|
+
// let html = document.getElementsByTagName('html')[0];
|
|
76347
|
+
let html;
|
|
76348
|
+
if (typeof document === "undefined") ; else {
|
|
76349
|
+
html = document.getElementsByTagName('html')[0];
|
|
76350
|
+
}
|
|
76334
76351
|
const defaults = {
|
|
76335
76352
|
selector: '.glightbox',
|
|
76336
76353
|
elements: null,
|