MCPcopy
hub / github.com/jscad/OpenJSCAD.org / generateOutputFile

Function generateOutputFile

src/io/generateOutputFile.js:4–10  ·  view source on GitHub ↗
(extension, blob, onDone, context)

Source from the content-addressed store, hash-verified

2const generateOutputFileFileSystem = require('../io/generateOutputFileFileSystem')
3
4function generateOutputFile (extension, blob, onDone, context) {
5 try {
6 generateOutputFileFileSystem(extension, blob, onDone.bind(context))
7 } catch (e) {
8 generateOutputFileBlobUrl(extension, blob, onDone.bind(context))
9 }
10}
11
12module.exports = {
13 generateOutputFile

Callers 1

processor.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected