Download node_modules/autoprefixer/lib/hacks/display-grid.js from jayvatliq/car-view-classifier-frontend: direct link, hf CLI and curl.
- Browser
- Download file 409 Bytes
-
https://huggingface.co/spaces/jayvatliq/car-view-classifier-frontend/resolve/main/node_modules/autoprefixer/lib/hacks/display-grid.js
- Command line
-
hf download hf://spaces/jayvatliq/car-view-classifier-frontend/node_modules/autoprefixer/lib/hacks/display-grid.js
-
curl -L -o display-grid.js https://huggingface.co/spaces/jayvatliq/car-view-classifier-frontend/resolve/main/node_modules/autoprefixer/lib/hacks/display-grid.js
409 Bytes
| let Value = require('../value') | |
| class DisplayGrid extends Value { | |
| constructor(name, prefixes) { | |
| super(name, prefixes) | |
| if (name === 'display-grid') { | |
| this.name = 'grid' | |
| } | |
| } | |
| /** | |
| * Faster check for flex value | |
| */ | |
| check(decl) { | |
| return decl.prop === 'display' && decl.value === this.name | |
| } | |
| } | |
| DisplayGrid.names = ['display-grid', 'inline-grid'] | |
| module.exports = DisplayGrid | |