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

Commit 1d51343

Browse files
v1.7.4
1 parent dbf9667 commit 1d51343

File tree

5 files changed

+26
-37
lines changed

5 files changed

+26
-37
lines changed

angular.js

Lines changed: 14 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.7.3
2+
* @license AngularJS v1.7.4
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.3/';
102+
var url = 'https://errors.angularjs.org/1.7.4/';
103103
var regex = url.replace('.', '\\.') + '[\\s\\S]*';
104104
var errRegExp = new RegExp(regex, 'g');
105105

@@ -931,15 +931,16 @@ function arrayRemove(array, value) {
931931
* * If `source` is identical to `destination` an exception will be thrown.
932932
*
933933
* <br />
934+
*
934935
* <div class="alert alert-warning">
935936
* Only enumerable properties are taken into account. Non-enumerable properties (both on `source`
936937
* and on `destination`) will be ignored.
937938
* </div>
938939
*
939-
* @param {*} source The source that will be used to make a copy.
940-
* Can be any type, including primitives, `null`, and `undefined`.
941-
* @param {(Object|Array)=} destination Destination into which the source is copied. If
942-
* provided, must be of the same type as `source`.
940+
* @param {*} source The source that will be used to make a copy. Can be any type, including
941+
* primitives, `null`, and `undefined`.
942+
* @param {(Object|Array)=} destination Destination into which the source is copied. If provided,
943+
* must be of the same type as `source`.
943944
* @returns {*} The copy or updated `destination`, if `destination` was specified.
944945
*
945946
* @example
@@ -2786,11 +2787,11 @@ function toDebugString(obj, maxDepth) {
27862787
var version = {
27872788
// These placeholder strings will be replaced by grunt's `build` task.
27882789
// They need to be double- or single-quoted.
2789-
full: '1.7.3',
2790+
full: '1.7.4',
27902791
major: 1,
27912792
minor: 7,
2792-
dot: 3,
2793-
codeName: 'eventful-proposal'
2793+
dot: 4,
2794+
codeName: 'interstellar-exploration'
27942795
};
27952796

27962797

@@ -2939,7 +2940,7 @@ function publishExternalAPI(angular) {
29392940
});
29402941
}
29412942
])
2942-
.info({ angularVersion: '1.7.3' });
2943+
.info({ angularVersion: '1.7.4' });
29432944
}
29442945

29452946
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
@@ -20306,7 +20307,7 @@ function $SceDelegateProvider() {
2030620307
// If we get here, then we will either sanitize the value or throw an exception.
2030720308
if (type === SCE_CONTEXTS.MEDIA_URL || type === SCE_CONTEXTS.URL) {
2030820309
// we attempt to sanitize non-resource URLs
20309-
return $$sanitizeUri(maybeTrusted, type === SCE_CONTEXTS.MEDIA_URL);
20310+
return $$sanitizeUri(maybeTrusted.toString(), type === SCE_CONTEXTS.MEDIA_URL);
2031020311
} else if (type === SCE_CONTEXTS.RESOURCE_URL) {
2031120312
if (isResourceUrlAllowedByPolicy(maybeTrusted)) {
2031220313
return maybeTrusted;
@@ -33203,7 +33204,7 @@ var ngRefDirective = ['$parse', function($parse) {
3320333204
* For example, if an item is added to the collection, `ngRepeat` will know that all other items
3320433205
* already have DOM elements, and will not re-render them.
3320533206
*
33206-
* All different types of tracking functions, their syntax, and and their support for duplicate
33207+
* All different types of tracking functions, their syntax, and their support for duplicate
3320733208
* items in collections can be found in the
3320833209
* {@link ngRepeat#ngRepeat-arguments ngRepeat expression description}.
3320933210
*
@@ -35164,7 +35165,7 @@ var SelectController =
3516435165

3516535166
if (optionAttrs.$attr.ngValue) {
3516635167
// The value attribute is set by ngValue
35167-
var oldVal, hashedVal = NaN;
35168+
var oldVal, hashedVal;
3516835169
optionAttrs.$observe('value', function valueAttributeObserveAction(newVal) {
3516935170

3517035171
var removal;
@@ -35337,18 +35338,6 @@ var SelectController =
3533735338
* {@link guide/interpolation#-ngattr-for-binding-to-arbitrary-attributes ngAttr} directive.
3533835339
*
3533935340
*
35340-
* @knownIssue
35341-
*
35342-
* In Firefox, the select model is only updated when the select element is blurred. For example,
35343-
* when switching between options with the keyboard, the select model is only set to the
35344-
* currently selected option when the select is blurred, e.g via tab key or clicking the mouse
35345-
* outside the select.
35346-
*
35347-
* This is due to an ambiguity in the select element specification. See the
35348-
* [issue on the Firefox bug tracker](https://bugzilla.mozilla.org/show_bug.cgi?id=126379)
35349-
* for more information, and this
35350-
* [Github comment for a workaround](https://github.com/angular/angular.js/issues/9134#issuecomment-130800488)
35351-
*
3535235341
* @example
3535335342
* ### Simple `select` elements with static options
3535435343
*

0 commit comments

Comments
 (0)