Spaces:
Sleeping
Sleeping
pythonic-rag-FastAPIReact / frontend /node_modules /adjust-sourcemap-loader /codec /bower-component.js
Download frontend/node_modules/adjust-sourcemap-loader/codec/bower-component.js from sepidnes/pythonic-rag-FastAPIReact: direct link, hf CLI and curl.
- Browser
- Download file 511 Bytes
-
https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/56fda741e84da791ee2e6198479f1d5630989f6c/frontend/node_modules/adjust-sourcemap-loader/codec/bower-component.js
- Command line
-
hf download hf://spaces/sepidnes/pythonic-rag-FastAPIReact@56fda741e84da791ee2e6198479f1d5630989f6c/frontend/node_modules/adjust-sourcemap-loader/codec/bower-component.js
-
curl -L -o bower-component.js https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/56fda741e84da791ee2e6198479f1d5630989f6c/frontend/node_modules/adjust-sourcemap-loader/codec/bower-component.js
511 Bytes
| ; | |
| /** | |
| * Codec for code generated by the Bower plugin. | |
| * @type {{name:string, decode:function, abstract:boolean}} | |
| */ | |
| module.exports = { | |
| name : 'bowerComponent', | |
| decode : decode, | |
| abstract: true | |
| }; | |
| /** | |
| * Validate the given uri (abstract). | |
| * @this {{options: object}} A loader or compilation | |
| * @param {string} uri A source uri to decode | |
| * @returns {boolean|string} False where unmatched else True | |
| */ | |
| function decode(uri) { | |
| return /^\/?([\w-]+)\s+\(bower component\)$/.test(uri); | |
| } | |