MCPcopy Create free account
hub / github.com/keepfool/vue-tutorials / root

Function root

06.Router/basic/js/vue-resource.js:409–418  ·  view source on GitHub ↗
(options, next)

Source from the content-addressed store, hash-verified

407 }
408
409 function root (options, next) {
410
411 var url = next(options);
412
413 if (isString(options.root) && !url.match(/^(https?:)?\//)) {
414 url = options.root + '/' + url;
415 }
416
417 return url;
418 }
419
420 function query (options, next) {
421

Callers

nothing calls this directly

Calls 2

nextFunction · 0.70
isStringFunction · 0.70

Tested by

no test coverage detected