MCPcopy Create free account
hub / github.com/cujojs/poly / toUrl

Function toUrl

test/curl.js:232–238  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

230 }
231
232 function toUrl (n) {
233 // even though internally, we don't seem to need to do
234 // toAbsId, the AMD spec says we need to do this for plugins.
235 // also, thesec states that we should not append an extension
236 // in this function.
237 return core.resolvePathInfo(toAbsId(n), cfg).url;
238 }
239
240 function localRequire (ids, callback) {
241 var cb, rvid, childDef, earlyExport;

Callers

nothing calls this directly

Calls 1

toAbsIdFunction · 0.85

Tested by

no test coverage detected