()
| 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 |
no test coverage detected