aboutsummaryrefslogtreecommitdiffstats
path: root/src/angular-mocks.js
diff options
context:
space:
mode:
authorIgor Minar2011-01-31 23:22:12 -0800
committerIgor Minar2011-02-01 09:35:18 -0800
commit9462c78fbf0896f0939c1bf3eb44a3f4f503f0a6 (patch)
treedb280a5c0d67f6e12377fddbe651ce314ff56795 /src/angular-mocks.js
parentc4497d60bca23bd5d9176b3d09819d9e16d22862 (diff)
downloadangular.js-9462c78fbf0896f0939c1bf3eb44a3f4f503f0a6.tar.bz2
$browser poller should notify $location only once per url change
Diffstat (limited to 'src/angular-mocks.js')
-rw-r--r--src/angular-mocks.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/angular-mocks.js b/src/angular-mocks.js
index fac411a9..fe0fb011 100644
--- a/src/angular-mocks.js
+++ b/src/angular-mocks.js
@@ -92,6 +92,7 @@ function MockBrowser() {
function() {
if (self.lastUrl != self.url) {
listener();
+ self.lastUrl == self.url
}
}
);