()
| 6216 | } |
| 6217 | |
| 6218 | function fireUrlChange() { |
| 6219 | if (lastBrowserUrl === self.url() && lastHistoryState === cachedState) { |
| 6220 | return; |
| 6221 | } |
| 6222 | |
| 6223 | lastBrowserUrl = self.url(); |
| 6224 | lastHistoryState = cachedState; |
| 6225 | forEach(urlChangeListeners, function(listener) { |
| 6226 | listener(self.url(), cachedState); |
| 6227 | }); |
| 6228 | } |
| 6229 | |
| 6230 | /** |
| 6231 | * @name $browser#onUrlChange |
no test coverage detected