|
1 | 1 | /**
|
2 |
| - * @license AngularJS v1.7.3 |
| 2 | + * @license AngularJS v1.7.4 |
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.3/'; |
| 102 | + var url = 'https://errors.angularjs.org/1.7.4/'; |
103 | 103 | var regex = url.replace('.', '\\.') + '[\\s\\S]*';
|
104 | 104 | var errRegExp = new RegExp(regex, 'g');
|
105 | 105 |
|
@@ -931,15 +931,16 @@ function arrayRemove(array, value) {
|
931 | 931 | * * If `source` is identical to `destination` an exception will be thrown.
|
932 | 932 | *
|
933 | 933 | * <br />
|
| 934 | + * |
934 | 935 | * <div class="alert alert-warning">
|
935 | 936 | * Only enumerable properties are taken into account. Non-enumerable properties (both on `source`
|
936 | 937 | * and on `destination`) will be ignored.
|
937 | 938 | * </div>
|
938 | 939 | *
|
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`. |
943 | 944 | * @returns {*} The copy or updated `destination`, if `destination` was specified.
|
944 | 945 | *
|
945 | 946 | * @example
|
@@ -2786,11 +2787,11 @@ function toDebugString(obj, maxDepth) {
|
2786 | 2787 | var version = {
|
2787 | 2788 | // These placeholder strings will be replaced by grunt's `build` task.
|
2788 | 2789 | // They need to be double- or single-quoted.
|
2789 |
| - full: '1.7.3', |
| 2790 | + full: '1.7.4', |
2790 | 2791 | major: 1,
|
2791 | 2792 | minor: 7,
|
2792 |
| - dot: 3, |
2793 |
| - codeName: 'eventful-proposal' |
| 2793 | + dot: 4, |
| 2794 | + codeName: 'interstellar-exploration' |
2794 | 2795 | };
|
2795 | 2796 |
|
2796 | 2797 |
|
@@ -2939,7 +2940,7 @@ function publishExternalAPI(angular) {
|
2939 | 2940 | });
|
2940 | 2941 | }
|
2941 | 2942 | ])
|
2942 |
| - .info({ angularVersion: '1.7.3' }); |
| 2943 | + .info({ angularVersion: '1.7.4' }); |
2943 | 2944 | }
|
2944 | 2945 |
|
2945 | 2946 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
@@ -20306,7 +20307,7 @@ function $SceDelegateProvider() {
|
20306 | 20307 | // If we get here, then we will either sanitize the value or throw an exception.
|
20307 | 20308 | if (type === SCE_CONTEXTS.MEDIA_URL || type === SCE_CONTEXTS.URL) {
|
20308 | 20309 | // 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); |
20310 | 20311 | } else if (type === SCE_CONTEXTS.RESOURCE_URL) {
|
20311 | 20312 | if (isResourceUrlAllowedByPolicy(maybeTrusted)) {
|
20312 | 20313 | return maybeTrusted;
|
@@ -33203,7 +33204,7 @@ var ngRefDirective = ['$parse', function($parse) {
|
33203 | 33204 | * For example, if an item is added to the collection, `ngRepeat` will know that all other items
|
33204 | 33205 | * already have DOM elements, and will not re-render them.
|
33205 | 33206 | *
|
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 |
33207 | 33208 | * items in collections can be found in the
|
33208 | 33209 | * {@link ngRepeat#ngRepeat-arguments ngRepeat expression description}.
|
33209 | 33210 | *
|
@@ -35164,7 +35165,7 @@ var SelectController =
|
35164 | 35165 |
|
35165 | 35166 | if (optionAttrs.$attr.ngValue) {
|
35166 | 35167 | // The value attribute is set by ngValue
|
35167 |
| - var oldVal, hashedVal = NaN; |
| 35168 | + var oldVal, hashedVal; |
35168 | 35169 | optionAttrs.$observe('value', function valueAttributeObserveAction(newVal) {
|
35169 | 35170 |
|
35170 | 35171 | var removal;
|
@@ -35337,18 +35338,6 @@ var SelectController =
|
35337 | 35338 | * {@link guide/interpolation#-ngattr-for-binding-to-arbitrary-attributes ngAttr} directive.
|
35338 | 35339 | *
|
35339 | 35340 | *
|
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 |
| - * |
35352 | 35341 | * @example
|
35353 | 35342 | * ### Simple `select` elements with static options
|
35354 | 35343 | *
|
|
0 commit comments