MCPcopy Create free account
hub / github.com/GoogleChrome/samples / locateFile

Function locateFile

mkbitmap/mkbitmap.js:73–78  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

71// `/` should be present at the end if `scriptDirectory` is not empty
72var scriptDirectory = '';
73function locateFile(path) {
74 if (Module['locateFile']) {
75 return Module['locateFile'](path, scriptDirectory);
76 }
77 return scriptDirectory + path;
78}
79
80// Hooks that are implemented differently in different runtime environments.
81var read_,

Callers 1

mkbitmap.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected