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

Function normalize

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

* Given a relative module name, like ./something, normalize it to * a real name that can be mapped to a path. * @param {String} name the relative name * @param {String} baseName a real name that the name arg is relative * to. * @returns {String} normalize

(name, baseName)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

makeModuleMapFunction · 0.70
newContextFunction · 0.70

Calls 5

splitMethod · 0.80
concatMethod · 0.80
trimDotsFunction · 0.70
joinMethod · 0.45
indexOfMethod · 0.45

Tested by

no test coverage detected