MCPcopy Create free account
hub / github.com/dropbox/hackpad / configurePackageDir

Function configurePackageDir

etherpad/src/static/js/tok/require.js:89–117  ·  view source on GitHub ↗

* Used to set up package paths from a packagePaths or packages config object. * @param {Object} pkgs the object to store the new package config * @param {Array} currentPackages an array of packages to configure * @param {String} [dir] a prefix dir to use.

(pkgs, currentPackages, dir)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

newContextFunction · 0.70

Calls 2

indexOfMethod · 0.45
replaceMethod · 0.45

Tested by

no test coverage detected