MCPcopy Create free account
hub / github.com/breck7/scroll / defineMIME

Function defineMIME

external/.scrollLibs.js:2191–2193  ·  view source on GitHub ↗
(mime, spec)

Source from the content-addressed store, hash-verified

2189 }
2190
2191 function defineMIME(mime, spec) {
2192 mimeModes[mime] = spec
2193 }
2194
2195 // Given a MIME type, a {name, ...options} config object, or a name
2196 // string, return a mode config object.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected