Skip to content

Commit

Permalink
Revert "ci: check in dist folder"
Browse files Browse the repository at this point in the history
This reverts commit aec5c01.
  • Loading branch information
ravishekhar committed Feb 12, 2025
1 parent cb641c7 commit a47d6d8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 21 deletions.
11 changes: 2 additions & 9 deletions dist/belter.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,6 @@
__webpack_require__.d(__webpack_exports__, "isAndroid", (function() {
return isAndroid;
}));
__webpack_require__.d(__webpack_exports__, "isFirefoxAndroid", (function() {
return isFirefoxAndroid;
}));
__webpack_require__.d(__webpack_exports__, "isIos", (function() {
return isIos;
}));
Expand Down Expand Up @@ -865,7 +862,7 @@
}
function isMetaInAppBrowser(ua) {
void 0 === ua && (ua = getUserAgent());
return /IABMV/.test(ua);
return /IABMV\/1/.test(ua);
}
function isFirefox(ua) {
void 0 === ua && (ua = getUserAgent());
Expand All @@ -887,10 +884,6 @@
void 0 === ua && (ua = getUserAgent());
return /Android/.test(ua);
}
function isFirefoxAndroid(ua) {
void 0 === ua && (ua = getUserAgent());
return isAndroid(ua) && isFirefox(ua);
}
function isIos(ua) {
void 0 === ua && (ua = getUserAgent());
return /iPhone|iPod|iPad/.test(ua);
Expand Down Expand Up @@ -977,7 +970,7 @@
}
function supportsPopups(ua) {
void 0 === ua && (ua = getUserAgent());
return !(isWebView(ua) || isIosWebview(ua) || isAndroidWebview(ua) || isOperaMini(ua) || isFirefoxIOS(ua) || isFirefoxAndroid(ua) || isEdgeIOS(ua) || isFacebookWebView(ua) || isQQBrowser(ua) || isElectron() || isMacOsCna() || isStandAlone());
return !(isWebView(ua) || isIosWebview(ua) || isAndroidWebview(ua) || isOperaMini(ua) || isFirefoxIOS(ua) || isEdgeIOS(ua) || isFacebookWebView(ua) || isQQBrowser(ua) || isElectron() || isMacOsCna() || isStandAlone());
}
function isChrome(ua) {
void 0 === ua && (ua = getUserAgent());
Expand Down
2 changes: 1 addition & 1 deletion dist/belter.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/belter.min.js.map

Large diffs are not rendered by default.

10 changes: 2 additions & 8 deletions dist/module/device.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function isMetaInAppBrowser(ua) {
if (ua === void 0) {
ua = getUserAgent();
}
return /IABMV/.test(ua);
return /IABMV\/1/.test(ua);
}
export function isFirefox(ua) {
if (ua === void 0) {
Expand Down Expand Up @@ -81,12 +81,6 @@ export function isAndroid(ua) {
}
return /Android/.test(ua);
}
export function isFirefoxAndroid(ua) {
if (ua === void 0) {
ua = getUserAgent();
}
return isAndroid(ua) && isFirefox(ua);
}
export function isIos(ua) {
if (ua === void 0) {
ua = getUserAgent();
Expand Down Expand Up @@ -226,7 +220,7 @@ export function supportsPopups(ua) {
if (ua === void 0) {
ua = getUserAgent();
}
return !(isWebView(ua) || isIosWebview(ua) || isAndroidWebview(ua) || isOperaMini(ua) || isFirefoxIOS(ua) || isFirefoxAndroid(ua) || isEdgeIOS(ua) || isFacebookWebView(ua) || isQQBrowser(ua) || isElectron() || isMacOsCna() || isStandAlone());
return !(isWebView(ua) || isIosWebview(ua) || isAndroidWebview(ua) || isOperaMini(ua) || isFirefoxIOS(ua) || isEdgeIOS(ua) || isFacebookWebView(ua) || isQQBrowser(ua) || isElectron() || isMacOsCna() || isStandAlone());
}
export function isChrome(ua) {
if (ua === void 0) {
Expand Down
3 changes: 1 addition & 2 deletions dist/module/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -669,8 +669,7 @@ export function isObject(item) {
return typeof item === "object" && item !== null;
}
export function isObjectObject(obj) {
return (isObject(obj) && Object.prototype.toString.call(obj) === "[object Object]"
);
return isObject(obj) && Object.prototype.toString.call(obj) === "[object Object]";
}
export function isPlainObject(obj) {
if (!isObjectObject(obj)) {
Expand Down

0 comments on commit a47d6d8

Please sign in to comment.