Skip to content

Commit 2f815ea

Browse files
committed
Clean up code
1 parent 6d4f3db commit 2f815ea

File tree

1 file changed

+16
-36
lines changed

1 file changed

+16
-36
lines changed

data/prefixes.js

+16-36
Original file line numberDiff line numberDiff line change
@@ -669,57 +669,37 @@ f(prefixDecoration, { match: /x.*#[235]/ }, browsers =>
669669
let prefixDecorationShorthand = require('caniuse-lite/data/features/mdn-text-decoration-shorthand')
670670

671671
f(prefixDecorationShorthand, browsers =>
672-
prefix(
673-
[
674-
'text-decoration'
675-
],
676-
{
677-
feature: 'text-decoration',
678-
browsers
679-
}
680-
)
672+
prefix(['text-decoration'], {
673+
feature: 'text-decoration',
674+
browsers
675+
})
681676
)
682677

683678
let prefixDecorationColor = require('caniuse-lite/data/features/mdn-text-decoration-color')
684679

685680
f(prefixDecorationColor, browsers =>
686-
prefix(
687-
[
688-
'text-decoration-color'
689-
],
690-
{
691-
feature: 'text-decoration',
692-
browsers
693-
}
694-
)
681+
prefix(['text-decoration-color'], {
682+
feature: 'text-decoration',
683+
browsers
684+
})
695685
)
696686

697687
let prefixDecorationLine = require('caniuse-lite/data/features/mdn-text-decoration-line')
698688

699689
f(prefixDecorationLine, browsers =>
700-
prefix(
701-
[
702-
'text-decoration-line'
703-
],
704-
{
705-
feature: 'text-decoration',
706-
browsers
707-
}
708-
)
690+
prefix(['text-decoration-line'], {
691+
feature: 'text-decoration',
692+
browsers
693+
})
709694
)
710695

711696
let prefixDecorationStyle = require('caniuse-lite/data/features/mdn-text-decoration-style')
712697

713698
f(prefixDecorationStyle, browsers =>
714-
prefix(
715-
[
716-
'text-decoration-style'
717-
],
718-
{
719-
feature: 'text-decoration',
720-
browsers
721-
}
722-
)
699+
prefix(['text-decoration-style'], {
700+
feature: 'text-decoration',
701+
browsers
702+
})
723703
)
724704

725705
// Text Size Adjust

0 commit comments

Comments
 (0)