MCPcopy Index your code
hub / github.com/blueimp/JavaScript-Load-Image / createObjectURL

Function createObjectURL

js/load-image.js:25–27  ·  view source on GitHub ↗

* Creates an object URL for a given File object. * * @param {Blob} blob Blob object * @returns {string|boolean} Returns object URL if API exists, else false.

(blob)

Source from the content-addressed store, hash-verified

23 * @returns {string|boolean} Returns object URL if API exists, else false.
24 */
25 function createObjectURL(blob) {
26 return urlAPI ? urlAPI.createObjectURL(blob) : false
27 }
28
29 /**
30 * Revokes a given object URL.

Callers 2

fetchBlobCallbackFunction · 0.85
executorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected