()
| 5147 | } |
| 5148 | |
| 5149 | function fireUrlChange() { |
| 5150 | if (lastBrowserUrl === self.url() && lastHistoryState === cachedState) { |
| 5151 | return; |
| 5152 | } |
| 5153 | |
| 5154 | lastBrowserUrl = self.url(); |
| 5155 | lastHistoryState = cachedState; |
| 5156 | forEach(urlChangeListeners, function(listener) { |
| 5157 | listener(self.url(), cachedState); |
| 5158 | }); |
| 5159 | } |
| 5160 | |
| 5161 | /** |
| 5162 | * @name $browser#onUrlChange |
no test coverage detected