Artifact 64b5abf364df3bd594f3a485f4cd10cf39be7cc6:
- File bindings/s2/require.d/plugins/fsl/blob.s2 — part of check-in [fdc5e1014e] at 2021-02-11 12:42:23 on branch trunk — Moved C++ and s2 bindings to bindings/{cpp,s2}. Got the C++ bindings compiling for new gcc breakage and new, stricter T-card validation. (user: stephan size: 664)
- File s2/require.d/plugins/fsl/blob.s2 — part of check-in [207e098803] at 2014-08-14 14:39:33 on branch trunk — boatloads of fsl/requires2 bits, latest s2. (user: stephan size: 664)
/** require() plugin which fetches a blob from the repo db. It interprets its argument as a symbolic blob name (anything libfossil's symbol-to-RID conversions support). */ return requireS2( ['fsl/context', 'fsl/db/repo' // so that we are ensured that repo is opened by this point ], proc(fsl){ return { isVirtual: true, _F: fsl, load: function(sym){ return this._F.loadBlob(sym) } /* If we wanted to be really pedantic, we would require(['fsl/db/repo']...) inside load(). Overkill. */ } });