Skip to content

Commit

Permalink
Clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Sep 14, 2022
1 parent 6d4f3db commit 2f815ea
Showing 1 changed file with 16 additions and 36 deletions.
52 changes: 16 additions & 36 deletions data/prefixes.js
Expand Up @@ -669,57 +669,37 @@ f(prefixDecoration, { match: /x.*#[235]/ }, browsers =>
let prefixDecorationShorthand = require('caniuse-lite/data/features/mdn-text-decoration-shorthand')

f(prefixDecorationShorthand, browsers =>
prefix(
[
'text-decoration'
],
{
feature: 'text-decoration',
browsers
}
)
prefix(['text-decoration'], {
feature: 'text-decoration',
browsers
})
)

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

f(prefixDecorationColor, browsers =>
prefix(
[
'text-decoration-color'
],
{
feature: 'text-decoration',
browsers
}
)
prefix(['text-decoration-color'], {
feature: 'text-decoration',
browsers
})
)

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

f(prefixDecorationLine, browsers =>
prefix(
[
'text-decoration-line'
],
{
feature: 'text-decoration',
browsers
}
)
prefix(['text-decoration-line'], {
feature: 'text-decoration',
browsers
})
)

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

f(prefixDecorationStyle, browsers =>
prefix(
[
'text-decoration-style'
],
{
feature: 'text-decoration',
browsers
}
)
prefix(['text-decoration-style'], {
feature: 'text-decoration',
browsers
})
)

// Text Size Adjust
Expand Down

0 comments on commit 2f815ea

Please sign in to comment.