From 8fd25d96142ba5bd6674ba19848b5477e9bbe861 Mon Sep 17 00:00:00 2001 From: Andrew Kushnir Date: Fri, 2 Oct 2020 11:47:47 -0700 Subject: [PATCH] docs: remove IE10 references from comments in the code (#39090) PR Close #39090 --- aio/src/polyfills.ts | 2 +- aio/src/testing/dom-utils.ts | 2 +- .../examples/shared/boilerplate/cli/src/polyfills.ts | 2 +- .../shared/boilerplate/elements/src/polyfills.ts | 2 +- .../examples/shared/boilerplate/i18n/src/polyfills.ts | 2 +- .../cli-hello-world-ivy-compat/src/polyfills.ts | 2 +- integration/cli-hello-world-ivy-i18n/src/polyfills.ts | 2 +- .../cli-hello-world-ivy-minimal/src/polyfills.ts | 2 +- .../cli-hello-world-lazy-rollup/src/polyfills.ts | 2 +- integration/cli-hello-world-lazy/src/polyfills.ts | 2 +- integration/cli-hello-world/src/polyfills.ts | 2 +- integration/ivy-i18n/src/polyfills-runtime.ts | 2 +- integration/ivy-i18n/src/polyfills.ts | 2 +- integration/ng_update_migrations/src/polyfills.ts | 2 +- .../render/css_keyframes/css_keyframes_driver_spec.ts | 2 +- .../element_animation_style_handler_spec.ts | 2 +- packages/common/src/i18n/format_date.ts | 2 +- packages/common/upgrade/src/location_shim.ts | 2 +- packages/core/src/sanitization/inert_body.ts | 4 ++-- packages/elements/src/utils.ts | 2 +- .../src/browser/tools/common_tools.ts | 2 +- packages/router/test/bootstrap.spec.ts | 2 +- packages/upgrade/src/dynamic/test/upgrade_spec.ts | 11 +++++------ 23 files changed, 28 insertions(+), 29 deletions(-) diff --git a/aio/src/polyfills.ts b/aio/src/polyfills.ts index a882913b83..5508a41d96 100644 --- a/aio/src/polyfills.ts +++ b/aio/src/polyfills.ts @@ -18,7 +18,7 @@ * BROWSER POLYFILLS */ -/** IE10 and IE11 requires the following for NgClass support on SVG elements */ +/** IE11 requires the following for NgClass support on SVG elements */ // import 'classlist.js'; // Run `npm install --save classlist.js`. /** diff --git a/aio/src/testing/dom-utils.ts b/aio/src/testing/dom-utils.ts index 54510abece..8e296fe352 100644 --- a/aio/src/testing/dom-utils.ts +++ b/aio/src/testing/dom-utils.ts @@ -5,7 +5,7 @@ export function createCustomEvent(doc: Document, name: string, detail: any): Cus const bubbles = false; const cancelable = false; - // On IE9-11, `CustomEvent` is not a constructor. + // On IE11, `CustomEvent` is not a constructor. if (typeof CustomEvent !== 'function') { const event = doc.createEvent('CustomEvent'); event.initCustomEvent(name, bubbles, cancelable, detail); diff --git a/aio/tools/examples/shared/boilerplate/cli/src/polyfills.ts b/aio/tools/examples/shared/boilerplate/cli/src/polyfills.ts index cd7cfe977d..f38ef7d0e5 100644 --- a/aio/tools/examples/shared/boilerplate/cli/src/polyfills.ts +++ b/aio/tools/examples/shared/boilerplate/cli/src/polyfills.ts @@ -18,7 +18,7 @@ * BROWSER POLYFILLS */ -/** IE10 and IE11 requires the following for NgClass support on SVG elements */ +/** IE11 requires the following for NgClass support on SVG elements */ // import 'classlist.js'; // Run `npm install --save classlist.js`. /** diff --git a/aio/tools/examples/shared/boilerplate/elements/src/polyfills.ts b/aio/tools/examples/shared/boilerplate/elements/src/polyfills.ts index 031fc3d0c0..08b4d9cd60 100644 --- a/aio/tools/examples/shared/boilerplate/elements/src/polyfills.ts +++ b/aio/tools/examples/shared/boilerplate/elements/src/polyfills.ts @@ -18,7 +18,7 @@ * BROWSER POLYFILLS */ -/** IE10 and IE11 requires the following for NgClass support on SVG elements */ +/** IE11 requires the following for NgClass support on SVG elements */ // import 'classlist.js'; // Run `npm install --save classlist.js`. /** diff --git a/aio/tools/examples/shared/boilerplate/i18n/src/polyfills.ts b/aio/tools/examples/shared/boilerplate/i18n/src/polyfills.ts index d06dbf69c5..3424b9d3f4 100644 --- a/aio/tools/examples/shared/boilerplate/i18n/src/polyfills.ts +++ b/aio/tools/examples/shared/boilerplate/i18n/src/polyfills.ts @@ -22,7 +22,7 @@ import '@angular/localize/init'; * BROWSER POLYFILLS */ -/** IE10 and IE11 requires the following for NgClass support on SVG elements */ +/** IE11 requires the following for NgClass support on SVG elements */ // import 'classlist.js'; // Run `npm install --save classlist.js`. /** diff --git a/integration/cli-hello-world-ivy-compat/src/polyfills.ts b/integration/cli-hello-world-ivy-compat/src/polyfills.ts index aa665d6b87..f39dafba9c 100644 --- a/integration/cli-hello-world-ivy-compat/src/polyfills.ts +++ b/integration/cli-hello-world-ivy-compat/src/polyfills.ts @@ -18,7 +18,7 @@ * BROWSER POLYFILLS */ -/** IE10 and IE11 requires the following for NgClass support on SVG elements */ +/** IE11 requires the following for NgClass support on SVG elements */ // import 'classlist.js'; // Run `npm install --save classlist.js`. /** diff --git a/integration/cli-hello-world-ivy-i18n/src/polyfills.ts b/integration/cli-hello-world-ivy-i18n/src/polyfills.ts index dcfb640835..ac4cd2caed 100644 --- a/integration/cli-hello-world-ivy-i18n/src/polyfills.ts +++ b/integration/cli-hello-world-ivy-i18n/src/polyfills.ts @@ -18,7 +18,7 @@ * BROWSER POLYFILLS */ -/** IE10 and IE11 requires the following for NgClass support on SVG elements */ +/** IE11 requires the following for NgClass support on SVG elements */ // import 'classlist.js'; // Run `npm install --save classlist.js`. /** diff --git a/integration/cli-hello-world-ivy-minimal/src/polyfills.ts b/integration/cli-hello-world-ivy-minimal/src/polyfills.ts index aa665d6b87..f39dafba9c 100644 --- a/integration/cli-hello-world-ivy-minimal/src/polyfills.ts +++ b/integration/cli-hello-world-ivy-minimal/src/polyfills.ts @@ -18,7 +18,7 @@ * BROWSER POLYFILLS */ -/** IE10 and IE11 requires the following for NgClass support on SVG elements */ +/** IE11 requires the following for NgClass support on SVG elements */ // import 'classlist.js'; // Run `npm install --save classlist.js`. /** diff --git a/integration/cli-hello-world-lazy-rollup/src/polyfills.ts b/integration/cli-hello-world-lazy-rollup/src/polyfills.ts index aa665d6b87..f39dafba9c 100644 --- a/integration/cli-hello-world-lazy-rollup/src/polyfills.ts +++ b/integration/cli-hello-world-lazy-rollup/src/polyfills.ts @@ -18,7 +18,7 @@ * BROWSER POLYFILLS */ -/** IE10 and IE11 requires the following for NgClass support on SVG elements */ +/** IE11 requires the following for NgClass support on SVG elements */ // import 'classlist.js'; // Run `npm install --save classlist.js`. /** diff --git a/integration/cli-hello-world-lazy/src/polyfills.ts b/integration/cli-hello-world-lazy/src/polyfills.ts index aa665d6b87..f39dafba9c 100644 --- a/integration/cli-hello-world-lazy/src/polyfills.ts +++ b/integration/cli-hello-world-lazy/src/polyfills.ts @@ -18,7 +18,7 @@ * BROWSER POLYFILLS */ -/** IE10 and IE11 requires the following for NgClass support on SVG elements */ +/** IE11 requires the following for NgClass support on SVG elements */ // import 'classlist.js'; // Run `npm install --save classlist.js`. /** diff --git a/integration/cli-hello-world/src/polyfills.ts b/integration/cli-hello-world/src/polyfills.ts index aa665d6b87..f39dafba9c 100644 --- a/integration/cli-hello-world/src/polyfills.ts +++ b/integration/cli-hello-world/src/polyfills.ts @@ -18,7 +18,7 @@ * BROWSER POLYFILLS */ -/** IE10 and IE11 requires the following for NgClass support on SVG elements */ +/** IE11 requires the following for NgClass support on SVG elements */ // import 'classlist.js'; // Run `npm install --save classlist.js`. /** diff --git a/integration/ivy-i18n/src/polyfills-runtime.ts b/integration/ivy-i18n/src/polyfills-runtime.ts index 30b721ff77..63ba0f8456 100644 --- a/integration/ivy-i18n/src/polyfills-runtime.ts +++ b/integration/ivy-i18n/src/polyfills-runtime.ts @@ -18,7 +18,7 @@ * BROWSER POLYFILLS */ -/** IE10 and IE11 requires the following for NgClass support on SVG elements */ +/** IE11 requires the following for NgClass support on SVG elements */ // import 'classlist.js'; // Run `npm install --save classlist.js`. /** diff --git a/integration/ivy-i18n/src/polyfills.ts b/integration/ivy-i18n/src/polyfills.ts index dcfb640835..ac4cd2caed 100644 --- a/integration/ivy-i18n/src/polyfills.ts +++ b/integration/ivy-i18n/src/polyfills.ts @@ -18,7 +18,7 @@ * BROWSER POLYFILLS */ -/** IE10 and IE11 requires the following for NgClass support on SVG elements */ +/** IE11 requires the following for NgClass support on SVG elements */ // import 'classlist.js'; // Run `npm install --save classlist.js`. /** diff --git a/integration/ng_update_migrations/src/polyfills.ts b/integration/ng_update_migrations/src/polyfills.ts index aa665d6b87..f39dafba9c 100644 --- a/integration/ng_update_migrations/src/polyfills.ts +++ b/integration/ng_update_migrations/src/polyfills.ts @@ -18,7 +18,7 @@ * BROWSER POLYFILLS */ -/** IE10 and IE11 requires the following for NgClass support on SVG elements */ +/** IE11 requires the following for NgClass support on SVG elements */ // import 'classlist.js'; // Run `npm install --save classlist.js`. /** diff --git a/packages/animations/browser/test/render/css_keyframes/css_keyframes_driver_spec.ts b/packages/animations/browser/test/render/css_keyframes/css_keyframes_driver_spec.ts index 95c2a61a40..c062712e8d 100644 --- a/packages/animations/browser/test/render/css_keyframes/css_keyframes_driver_spec.ts +++ b/packages/animations/browser/test/render/css_keyframes/css_keyframes_driver_spec.ts @@ -106,7 +106,7 @@ describe('CssKeyframesDriver tests', () => { it('should animate until the `animationend` method is emitted, but stil retain the