Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit a3f5186

Browse files
v1.7.5
1 parent 1d51343 commit a3f5186

File tree

5 files changed

+214
-209
lines changed

5 files changed

+214
-209
lines changed

angular.js

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.7.4
2+
* @license AngularJS v1.7.5
33
* (c) 2010-2018 Google, Inc. http://angularjs.org
44
* License: MIT
55
*/
@@ -99,7 +99,7 @@ function isValidObjectMaxDepth(maxDepth) {
9999
function minErr(module, ErrorConstructor) {
100100
ErrorConstructor = ErrorConstructor || Error;
101101

102-
var url = 'https://errors.angularjs.org/1.7.4/';
102+
var url = 'https://errors.angularjs.org/1.7.5/';
103103
var regex = url.replace('.', '\\.') + '[\\s\\S]*';
104104
var errRegExp = new RegExp(regex, 'g');
105105

@@ -2787,11 +2787,11 @@ function toDebugString(obj, maxDepth) {
27872787
var version = {
27882788
// These placeholder strings will be replaced by grunt's `build` task.
27892789
// They need to be double- or single-quoted.
2790-
full: '1.7.4',
2790+
full: '1.7.5',
27912791
major: 1,
27922792
minor: 7,
2793-
dot: 4,
2794-
codeName: 'interstellar-exploration'
2793+
dot: 5,
2794+
codeName: 'anti-prettification'
27952795
};
27962796

27972797

@@ -2940,7 +2940,7 @@ function publishExternalAPI(angular) {
29402940
});
29412941
}
29422942
])
2943-
.info({ angularVersion: '1.7.4' });
2943+
.info({ angularVersion: '1.7.5' });
29442944
}
29452945

29462946
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
@@ -27818,6 +27818,8 @@ function classDirective(name, selector) {
2781827818
}
2781927819

2782027820
function toClassString(classValue) {
27821+
if (!classValue) return classValue;
27822+
2782127823
var classString = classValue;
2782227824

2782327825
if (isArray(classValue)) {
@@ -27826,6 +27828,8 @@ function classDirective(name, selector) {
2782627828
classString = Object.keys(classValue).
2782727829
filter(function(key) { return classValue[key]; }).
2782827830
join(' ');
27831+
} else if (!isString(classValue)) {
27832+
classString = classValue + '';
2782927833
}
2783027834

2783127835
return classString;

0 commit comments

Comments
 (0)