Skip to content

Commit a47d6d8

Browse files
committed
Revert "ci: check in dist folder"
This reverts commit aec5c01.
1 parent cb641c7 commit a47d6d8

File tree

5 files changed

+7
-21
lines changed

5 files changed

+7
-21
lines changed

dist/belter.js

+2-9
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,6 @@
104104
__webpack_require__.d(__webpack_exports__, "isAndroid", (function() {
105105
return isAndroid;
106106
}));
107-
__webpack_require__.d(__webpack_exports__, "isFirefoxAndroid", (function() {
108-
return isFirefoxAndroid;
109-
}));
110107
__webpack_require__.d(__webpack_exports__, "isIos", (function() {
111108
return isIos;
112109
}));
@@ -865,7 +862,7 @@
865862
}
866863
function isMetaInAppBrowser(ua) {
867864
void 0 === ua && (ua = getUserAgent());
868-
return /IABMV/.test(ua);
865+
return /IABMV\/1/.test(ua);
869866
}
870867
function isFirefox(ua) {
871868
void 0 === ua && (ua = getUserAgent());
@@ -887,10 +884,6 @@
887884
void 0 === ua && (ua = getUserAgent());
888885
return /Android/.test(ua);
889886
}
890-
function isFirefoxAndroid(ua) {
891-
void 0 === ua && (ua = getUserAgent());
892-
return isAndroid(ua) && isFirefox(ua);
893-
}
894887
function isIos(ua) {
895888
void 0 === ua && (ua = getUserAgent());
896889
return /iPhone|iPod|iPad/.test(ua);
@@ -977,7 +970,7 @@
977970
}
978971
function supportsPopups(ua) {
979972
void 0 === ua && (ua = getUserAgent());
980-
return !(isWebView(ua) || isIosWebview(ua) || isAndroidWebview(ua) || isOperaMini(ua) || isFirefoxIOS(ua) || isFirefoxAndroid(ua) || isEdgeIOS(ua) || isFacebookWebView(ua) || isQQBrowser(ua) || isElectron() || isMacOsCna() || isStandAlone());
973+
return !(isWebView(ua) || isIosWebview(ua) || isAndroidWebview(ua) || isOperaMini(ua) || isFirefoxIOS(ua) || isEdgeIOS(ua) || isFacebookWebView(ua) || isQQBrowser(ua) || isElectron() || isMacOsCna() || isStandAlone());
981974
}
982975
function isChrome(ua) {
983976
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

+2-8
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/.test(ua);
52+
return /IABMV\/1/.test(ua);
5353
}
5454
export function isFirefox(ua) {
5555
if (ua === void 0) {
@@ -81,12 +81,6 @@ 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-
}
9084
export function isIos(ua) {
9185
if (ua === void 0) {
9286
ua = getUserAgent();
@@ -226,7 +220,7 @@ export function supportsPopups(ua) {
226220
if (ua === void 0) {
227221
ua = getUserAgent();
228222
}
229-
return !(isWebView(ua) || isIosWebview(ua) || isAndroidWebview(ua) || isOperaMini(ua) || isFirefoxIOS(ua) || isFirefoxAndroid(ua) || isEdgeIOS(ua) || isFacebookWebView(ua) || isQQBrowser(ua) || isElectron() || isMacOsCna() || isStandAlone());
223+
return !(isWebView(ua) || isIosWebview(ua) || isAndroidWebview(ua) || isOperaMini(ua) || isFirefoxIOS(ua) || isEdgeIOS(ua) || isFacebookWebView(ua) || isQQBrowser(ua) || isElectron() || isMacOsCna() || isStandAlone());
230224
}
231225
export function isChrome(ua) {
232226
if (ua === void 0) {

dist/module/util.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -669,8 +669,7 @@ 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]"
673-
);
672+
return isObject(obj) && Object.prototype.toString.call(obj) === "[object Object]";
674673
}
675674
export function isPlainObject(obj) {
676675
if (!isObjectObject(obj)) {

0 commit comments

Comments
 (0)