Skip to content

Commit aec5c01

Browse files
committed
ci: check in dist folder
1 parent 45578c7 commit aec5c01

File tree

5 files changed

+21
-7
lines changed

5 files changed

+21
-7
lines changed

dist/belter.js

+9-2
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@
104104
__webpack_require__.d(__webpack_exports__, "isAndroid", (function() {
105105
return isAndroid;
106106
}));
107+
__webpack_require__.d(__webpack_exports__, "isFirefoxAndroid", (function() {
108+
return isFirefoxAndroid;
109+
}));
107110
__webpack_require__.d(__webpack_exports__, "isIos", (function() {
108111
return isIos;
109112
}));
@@ -862,7 +865,7 @@
862865
}
863866
function isMetaInAppBrowser(ua) {
864867
void 0 === ua && (ua = getUserAgent());
865-
return /IABMV\/1/.test(ua);
868+
return /IABMV/.test(ua);
866869
}
867870
function isFirefox(ua) {
868871
void 0 === ua && (ua = getUserAgent());
@@ -884,6 +887,10 @@
884887
void 0 === ua && (ua = getUserAgent());
885888
return /Android/.test(ua);
886889
}
890+
function isFirefoxAndroid(ua) {
891+
void 0 === ua && (ua = getUserAgent());
892+
return isAndroid(ua) && isFirefox(ua);
893+
}
887894
function isIos(ua) {
888895
void 0 === ua && (ua = getUserAgent());
889896
return /iPhone|iPod|iPad/.test(ua);
@@ -970,7 +977,7 @@
970977
}
971978
function supportsPopups(ua) {
972979
void 0 === ua && (ua = getUserAgent());
973-
return !(isWebView(ua) || isIosWebview(ua) || isAndroidWebview(ua) || isOperaMini(ua) || isFirefoxIOS(ua) || isEdgeIOS(ua) || isFacebookWebView(ua) || isQQBrowser(ua) || isElectron() || isMacOsCna() || isStandAlone());
980+
return !(isWebView(ua) || isIosWebview(ua) || isAndroidWebview(ua) || isOperaMini(ua) || isFirefoxIOS(ua) || isFirefoxAndroid(ua) || isEdgeIOS(ua) || isFacebookWebView(ua) || isQQBrowser(ua) || isElectron() || isMacOsCna() || isStandAlone());
974981
}
975982
function isChrome(ua) {
976983
void 0 === ua && (ua = getUserAgent());

dist/belter.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/belter.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/module/device.js

+8-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export function isMetaInAppBrowser(ua) {
4949
if (ua === void 0) {
5050
ua = getUserAgent();
5151
}
52-
return /IABMV\/1/.test(ua);
52+
return /IABMV/.test(ua);
5353
}
5454
export function isFirefox(ua) {
5555
if (ua === void 0) {
@@ -81,6 +81,12 @@ export function isAndroid(ua) {
8181
}
8282
return /Android/.test(ua);
8383
}
84+
export function isFirefoxAndroid(ua) {
85+
if (ua === void 0) {
86+
ua = getUserAgent();
87+
}
88+
return isAndroid(ua) && isFirefox(ua);
89+
}
8490
export function isIos(ua) {
8591
if (ua === void 0) {
8692
ua = getUserAgent();
@@ -220,7 +226,7 @@ export function supportsPopups(ua) {
220226
if (ua === void 0) {
221227
ua = getUserAgent();
222228
}
223-
return !(isWebView(ua) || isIosWebview(ua) || isAndroidWebview(ua) || isOperaMini(ua) || isFirefoxIOS(ua) || isEdgeIOS(ua) || isFacebookWebView(ua) || isQQBrowser(ua) || isElectron() || isMacOsCna() || isStandAlone());
229+
return !(isWebView(ua) || isIosWebview(ua) || isAndroidWebview(ua) || isOperaMini(ua) || isFirefoxIOS(ua) || isFirefoxAndroid(ua) || isEdgeIOS(ua) || isFacebookWebView(ua) || isQQBrowser(ua) || isElectron() || isMacOsCna() || isStandAlone());
224230
}
225231
export function isChrome(ua) {
226232
if (ua === void 0) {

dist/module/util.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,8 @@ export function isObject(item) {
669669
return typeof item === "object" && item !== null;
670670
}
671671
export function isObjectObject(obj) {
672-
return isObject(obj) && Object.prototype.toString.call(obj) === "[object Object]";
672+
return (isObject(obj) && Object.prototype.toString.call(obj) === "[object Object]"
673+
);
673674
}
674675
export function isPlainObject(obj) {
675676
if (!isObjectObject(obj)) {

0 commit comments

Comments
 (0)