Skip to content

Commit 29fdba4

Browse files
authored
Fix every calls to return values
1 parent aab34b0 commit 29fdba4

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/index.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,16 +72,12 @@ export const polyfills = {
7272
export function isSupported() {
7373
return (
7474
baseSupport &&
75-
Object.values(polyfills).every(polyfill => {
76-
polyfill.isSupported()
77-
})
75+
Object.values(polyfills).every(polyfill => polyfill.isSupported())
7876
)
7977
}
8078

8179
export function isPolyfilled() {
82-
return Object.values(polyfills).every(polyfill => {
83-
polyfill.isPolyfilled()
84-
})
80+
return Object.values(polyfills).every(polyfill => polyfill.isPolyfilled())
8581
}
8682

8783
export function apply() {

0 commit comments

Comments
 (0)