MCPcopy Index your code
hub / github.com/PsChina/angularJS / urlIsSameOrigin

Function urlIsSameOrigin

2-gulp/demo/angular.js:20576–20580  ·  view source on GitHub ↗

* Parse a request URL and determine whether this is a same-origin request as the application document. * * @param {string|object} requestUrl The url of the request as a string that will be resolved * or a parsed URL object. * @returns {boolean} Whether the request is for the same origin as the a

(requestUrl)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

sendReqFunction · 0.85
matchUrlFunction · 0.85

Calls 2

urlResolveFunction · 0.85
isStringFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…