Download node_modules/autoprefixer/lib/hacks/animation.js from jayvatliq/car-view-classifier-frontend: direct link, hf CLI and curl.
- Browser
- Download file 401 Bytes
-
https://huggingface.co/spaces/jayvatliq/car-view-classifier-frontend/resolve/main/node_modules/autoprefixer/lib/hacks/animation.js
- Command line
-
hf download hf://spaces/jayvatliq/car-view-classifier-frontend/node_modules/autoprefixer/lib/hacks/animation.js
-
curl -L -o animation.js https://huggingface.co/spaces/jayvatliq/car-view-classifier-frontend/resolve/main/node_modules/autoprefixer/lib/hacks/animation.js
401 Bytes
| 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 | |