V8: Angular Divorce: equals (#7860)
* Bye bye angular.equals & use Utilities.equals which is still using angular.equals under the hood for now * Update umbvariantcontenteditors.directive.js Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
This commit is contained in:
@@ -171,7 +171,7 @@ angular.mock.$Browser.prototype = {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (!angular.equals(this.cookieHash, this.lastCookieHash)) {
|
||||
if (!Utilities.equals(this.cookieHash, this.lastCookieHash)) {
|
||||
this.lastCookieHash = Utilities.copy(this.cookieHash);
|
||||
this.cookieHash = Utilities.copy(this.cookieHash);
|
||||
}
|
||||
@@ -1379,7 +1379,7 @@ function MockHttpExpectation(method, url, data, headers) {
|
||||
this.matchHeaders = function (h) {
|
||||
if (Utilities.isUndefined(headers)) return true;
|
||||
if (angular.isFunction(headers)) return headers(h);
|
||||
return angular.equals(headers, h);
|
||||
return Utilities.equals(headers, h);
|
||||
};
|
||||
|
||||
this.matchData = function (d) {
|
||||
|
||||
Reference in New Issue
Block a user