MCPcopy
hub / github.com/systemjs/systemjs / resolveUrl

Function resolveUrl

src/common.js:124–126  ·  view source on GitHub ↗
(relUrl, parentUrl)

Source from the content-addressed store, hash-verified

122 */
123
124export function resolveUrl (relUrl, parentUrl) {
125 return resolveIfNotPlainOrUrl(relUrl, parentUrl) || (relUrl.indexOf(':') !== -1 ? relUrl : resolveIfNotPlainOrUrl('./' + relUrl, parentUrl));
126}
127
128function resolveAndComposePackages (packages, outPackages, baseUrl, parentMap, parentUrl) {
129 for (var p in packages) {

Callers 3

processScriptsFunction · 0.90
module-types.jsFile · 0.90

Calls 1

resolveIfNotPlainOrUrlFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…