diff options
| author | Igor Minar | 2010-10-13 15:23:11 -0700 | 
|---|---|---|
| committer | Igor Minar | 2010-10-13 17:42:55 -0700 | 
| commit | 1cc85a77cf609c5fc8475ab3b6281b165d284099 (patch) | |
| tree | 5b3bbb65a1f8215bd12cab15c46a4cabe256978a | |
| parent | 80c64b48f319735b5fe4930aa253ffb8587d9233 (diff) | |
| download | angular.js-1cc85a77cf609c5fc8475ab3b6281b165d284099.tar.bz2 | |
fixing reference issue in angular-mocks.js
| -rw-r--r-- | test/angular-mocks.js | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/test/angular-mocks.js b/test/angular-mocks.js index a8f189cb..efe5b5b3 100644 --- a/test/angular-mocks.js +++ b/test/angular-mocks.js @@ -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;      } | 
