Spaces:
Paused
Paused
UserSyncFrontend / node_modules /@plotly /mapbox-gl /src /style-spec /validate /validate_constants.js
Download node_modules/@plotly/mapbox-gl/src/style-spec/validate/validate_constants.js from Leon4gr45/UserSyncFrontend: direct link, hf CLI and curl.
- Browser
- Download file 337 Bytes
-
https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40plotly/mapbox-gl/src/style-spec/validate/validate_constants.js
- Command line
-
hf download hf://spaces/Leon4gr45/UserSyncFrontend/node_modules/@plotly/mapbox-gl/src/style-spec/validate/validate_constants.js
-
curl -L -o validate_constants.js https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40plotly/mapbox-gl/src/style-spec/validate/validate_constants.js
337 Bytes
| import ValidationError from '../error/validation_error'; | |
| export default function validateConstants(options) { | |
| const key = options.key; | |
| const constants = options.value; | |
| if (constants) { | |
| return [new ValidationError(key, constants, 'constants have been deprecated as of v8')]; | |
| } else { | |
| return []; | |
| } | |
| } | |