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

Function fireUrlChange

lib/test/angular/1.5.0/angular.js:5975–5985  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5973 }
5974
5975 function fireUrlChange() {
5976 if (lastBrowserUrl === self.url() && lastHistoryState === cachedState) {
5977 return;
5978 }
5979
5980 lastBrowserUrl = self.url();
5981 lastHistoryState = cachedState;
5982 forEach(urlChangeListeners, function(listener) {
5983 listener(self.url(), cachedState);
5984 });
5985 }
5986
5987 /**
5988 * @name $browser#onUrlChange

Callers 1

Calls 2

forEachFunction · 0.70
listenerFunction · 0.70

Tested by

no test coverage detected