frontend/.pnpm-store/v3/files/7a/d0e230d1e60195c44cbe7675e0c8cc6cf86572023963b51156237a7f0f9d84f37624faf6469315c47fa4073004fd5f74bf5eff980fac432cde5cea346c3358

18 lines
402 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

let Declaration = require('../declaration')
class Animation extends Declaration {
/**
* Dont add prefixes for modern values.
*/
check (decl) {
return !decl.value.split(/\s+/).some(i => {
let lower = i.toLowerCase()
return lower === 'reverse' || lower === 'alternate-reverse'
})
}
}
Animation.names = ['animation', 'animation-direction']
module.exports = Animation