mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
fixing reference issue in angular-mocks.js
This commit is contained in:
parent
80c64b48f3
commit
1cc85a77cf
1 changed files with 2 additions and 2 deletions
4
test/angular-mocks.js
vendored
4
test/angular-mocks.js
vendored
|
|
@ -150,8 +150,8 @@ MockBrowser.prototype = {
|
|||
}
|
||||
} else {
|
||||
if (!angular.equals(this.cookieHash, this.lastCookieHash)) {
|
||||
this.lastCookieHash = copy(this.cookieHash);
|
||||
this.cookieHash = copy(this.cookieHash);
|
||||
this.lastCookieHash = angular.copy(this.cookieHash);
|
||||
this.cookieHash = angular.copy(this.cookieHash);
|
||||
}
|
||||
return this.cookieHash;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue