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

Function fireUrlChange

lib/test/angular/1.4.3/angular.js:5560–5570  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5558 }
5559
5560 function fireUrlChange() {
5561 if (lastBrowserUrl === self.url() && lastHistoryState === cachedState) {
5562 return;
5563 }
5564
5565 lastBrowserUrl = self.url();
5566 lastHistoryState = cachedState;
5567 forEach(urlChangeListeners, function(listener) {
5568 listener(self.url(), cachedState);
5569 });
5570 }
5571
5572 /**
5573 * @name $browser#onUrlChange

Callers 1

Calls 2

forEachFunction · 0.70
listenerFunction · 0.70

Tested by

no test coverage detected