Spaces:
Paused
Paused
Download node_modules/@plotly/mapbox-gl/src/style-spec/validate/validate_image.js from Leon4gr45/UserSyncFrontend: direct link, hf CLI and curl.
- Browser
- Download file 284 Bytes
-
https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40plotly/mapbox-gl/src/style-spec/validate/validate_image.js
- Command line
-
hf download hf://spaces/Leon4gr45/UserSyncFrontend/node_modules/@plotly/mapbox-gl/src/style-spec/validate/validate_image.js
-
curl -L -o validate_image.js https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40plotly/mapbox-gl/src/style-spec/validate/validate_image.js
284 Bytes
| // @flow | |
| import validateExpression from './validate_expression'; | |
| import validateString from './validate_string'; | |
| export default function validateImage(options: any) { | |
| if (validateString(options).length === 0) { | |
| return []; | |
| } | |
| return validateExpression(options); | |
| } | |