mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-06-18 20:16:22 +08:00
fixing reference issue in angular-mocks.js
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user