Commit d557d2fc authored by Ridwan Amode's avatar Ridwan Amode
Browse files

rename function name to make more sense what its returning

parent 152e2aa3
Pipeline #254864 passed with stages
in 4 minutes and 13 seconds
......@@ -26,11 +26,11 @@ const hasOutdatedMediaQueryList = () => {
);
};
const abortControllerSupport = () => {
const hasNoAbortController = () => {
return !('AbortController' in window);
};
const browserChecks = [hasOutdatedMediaQueryList, abortControllerSupport];
const browserChecks = [hasOutdatedMediaQueryList, hasNoAbortController];
const ensureBrowserSupport = () => {
if (browserChecks.some((check) => check())) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment