Download pool/shard007/JavaScript/0044106_bdCoder.js from Variable-role/sajaniemi_variable_dataset_large: direct link, hf CLI and curl.
- Browser
- Download file 552 Bytes
-
https://huggingface.co/datasets/Variable-role/sajaniemi_variable_dataset_large/resolve/main/pool/shard007/JavaScript/0044106_bdCoder.js
- Command line
-
hf download hf://datasets/Variable-role/sajaniemi_variable_dataset_large/pool/shard007/JavaScript/0044106_bdCoder.js
-
curl -L -o 0044106_bdCoder.js https://huggingface.co/datasets/Variable-role/sajaniemi_variable_dataset_large/resolve/main/pool/shard007/JavaScript/0044106_bdCoder.js
552 Bytes
| (function (root, factory) { | |
| if (typeof define === 'function' && define.amd) { | |
| define(['templating/Coder'], factory); | |
| } else if (typeof exports === 'object') { | |
| module.exports = factory(); | |
| } | |
| }(this, function (Coder) { | |
| 'use strict'; | |
| var bindingsCoder = { | |
| tagName: 'bd', | |
| code: function (nodeContext, data) { | |
| data.bind = data.dataset.bind || data.name; | |
| return data; | |
| } | |
| }; | |
| if (Coder) { | |
| Coder.addCoder(bindingsCoder); | |
| } | |
| return bindingsCoder; | |
| })); |