mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-08 23:08:14 -07:00
17 lines
401 B
JavaScript
17 lines
401 B
JavaScript
let Declaration = require('../declaration')
|
||
|
||
class Animation extends Declaration {
|
||
/**
|
||
* Don’t 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
|