Download pool/shard000/JavaScript/0000108_entry-requires-jquery.js from Variable-role/sajaniemi_variable_dataset_large: direct link, hf CLI and curl.
- Browser
- Download file 293 Bytes
-
https://huggingface.co/datasets/Variable-role/sajaniemi_variable_dataset_large/resolve/main/pool/shard000/JavaScript/0000108_entry-requires-jquery.js
- Command line
-
hf download hf://datasets/Variable-role/sajaniemi_variable_dataset_large/pool/shard000/JavaScript/0000108_entry-requires-jquery.js
-
curl -L -o 0000108_entry-requires-jquery.js https://huggingface.co/datasets/Variable-role/sajaniemi_variable_dataset_large/resolve/main/pool/shard000/JavaScript/0000108_entry-requires-jquery.js
293 Bytes
| var $ = require('jquery') | |
| , foo = require('./foo'); | |
| console.log('jquery version', $().jquery); | |
| console.log('foo', foo()); | |
| // expose require in order to support testing | |
| window.require = require; | |
| module.exports = { | |
| getJqueryVersion: function () { return $().jquery; } | |
| , foo: foo() | |
| }; | |