1
1
/**
2
- * @license AngularJS v1.7.4
2
+ * @license AngularJS v1.7.5
3
3
* (c) 2010-2018 Google, Inc. http://angularjs.org
4
4
* License: MIT
5
5
*/
@@ -99,7 +99,7 @@ function isValidObjectMaxDepth(maxDepth) {
99
99
function minErr(module, ErrorConstructor) {
100
100
ErrorConstructor = ErrorConstructor || Error;
101
101
102
- var url = 'https://errors.angularjs.org/1.7.4 /';
102
+ var url = 'https://errors.angularjs.org/1.7.5 /';
103
103
var regex = url.replace('.', '\\.') + '[\\s\\S]*';
104
104
var errRegExp = new RegExp(regex, 'g');
105
105
@@ -2787,11 +2787,11 @@ function toDebugString(obj, maxDepth) {
2787
2787
var version = {
2788
2788
// These placeholder strings will be replaced by grunt's `build` task.
2789
2789
// They need to be double- or single-quoted.
2790
- full: '1.7.4 ',
2790
+ full: '1.7.5 ',
2791
2791
major: 1,
2792
2792
minor: 7,
2793
- dot: 4 ,
2794
- codeName: 'interstellar-exploration '
2793
+ dot: 5 ,
2794
+ codeName: 'anti-prettification '
2795
2795
};
2796
2796
2797
2797
@@ -2940,7 +2940,7 @@ function publishExternalAPI(angular) {
2940
2940
});
2941
2941
}
2942
2942
])
2943
- .info({ angularVersion: '1.7.4 ' });
2943
+ .info({ angularVersion: '1.7.5 ' });
2944
2944
}
2945
2945
2946
2946
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
@@ -27818,6 +27818,8 @@ function classDirective(name, selector) {
27818
27818
}
27819
27819
27820
27820
function toClassString(classValue) {
27821
+ if (!classValue) return classValue;
27822
+
27821
27823
var classString = classValue;
27822
27824
27823
27825
if (isArray(classValue)) {
@@ -27826,6 +27828,8 @@ function classDirective(name, selector) {
27826
27828
classString = Object.keys(classValue).
27827
27829
filter(function(key) { return classValue[key]; }).
27828
27830
join(' ');
27831
+ } else if (!isString(classValue)) {
27832
+ classString = classValue + '';
27829
27833
}
27830
27834
27831
27835
return classString;
0 commit comments