()
| 5933 | } |
| 5934 | |
| 5935 | function fireUrlChange() { |
| 5936 | if (lastBrowserUrl === self.url() && lastHistoryState === cachedState) { |
| 5937 | return; |
| 5938 | } |
| 5939 | |
| 5940 | lastBrowserUrl = self.url(); |
| 5941 | lastHistoryState = cachedState; |
| 5942 | forEach(urlChangeListeners, function(listener) { |
| 5943 | listener(self.url(), cachedState); |
| 5944 | }); |
| 5945 | } |
| 5946 | |
| 5947 | /** |
| 5948 | * @name $browser#onUrlChange |
no test coverage detected