MCPcopy Index your code
hub / github.com/angular-ui/ui-grid / urlsEqual

Function urlsEqual

lib/test/angular/1.8.0/angular.js:15307–15309  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

15305 // such as $location.absUrl() vs $browser.url()
15306 // See https://github.com/angular/angular.js/issues/16592
15307 function urlsEqual(a, b) {
15308 return a === b || urlResolve(a).href === urlResolve(b).href;
15309 }
15310
15311 function setBrowserUrlWithFallback(url, replace, state) {
15312 var oldUrl = $location.url();

Callers 1

$LocationProviderFunction · 0.85

Calls 1

urlResolveFunction · 0.70

Tested by

no test coverage detected