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

Method require

external/.scrollLibs.js:15474–15477  ·  view source on GitHub ↗
(moduleName, filePath)

Source from the content-addressed store, hash-verified

15472 return false
15473 }
15474 require(moduleName, filePath) {
15475 if (!this.isNodeJs()) return window[moduleName]
15476 return require(filePath || moduleName)
15477 }
15478 getAtomsFrom(startFrom) {
15479 return this._getAtoms(startFrom)
15480 }

Callers 1

toDiskMethod · 0.95

Calls 1

isNodeJsMethod · 0.95

Tested by

no test coverage detected