diff --git a/aio/content/examples/accessibility/e2e/src/app.e2e-spec.ts b/aio/content/examples/accessibility/e2e/src/app.e2e-spec.ts index 1df4834f8c..5722a25e46 100644 --- a/aio/content/examples/accessibility/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/accessibility/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by } from 'protractor'; describe('Accessibility example e2e tests', () => { diff --git a/aio/content/examples/ajs-quick-reference/e2e/src/app.e2e-spec.ts b/aio/content/examples/ajs-quick-reference/e2e/src/app.e2e-spec.ts index 0eef85ffde..f2e2fd59c3 100644 --- a/aio/content/examples/ajs-quick-reference/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/ajs-quick-reference/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by } from 'protractor'; describe('AngularJS to Angular Quick Reference Tests', function () { diff --git a/aio/content/examples/animations/e2e/src/app.e2e-spec.ts b/aio/content/examples/animations/e2e/src/app.e2e-spec.ts index 49e4dcaf0b..504b7ad634 100644 --- a/aio/content/examples/animations/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/animations/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, ExpectedConditions as EC } from 'protractor'; import { logging } from 'selenium-webdriver'; import * as openClose from './open-close.po'; diff --git a/aio/content/examples/architecture/e2e/src/app.e2e-spec.ts b/aio/content/examples/architecture/e2e/src/app.e2e-spec.ts index d6e9316e8e..b6bf307723 100644 --- a/aio/content/examples/architecture/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/architecture/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { protractor, browser, element, by, ElementFinder } from 'protractor'; const nameSuffix = 'X'; diff --git a/aio/content/examples/attribute-binding/e2e/src/app.e2e-spec.ts b/aio/content/examples/attribute-binding/e2e/src/app.e2e-spec.ts index 95281656a9..01947a5d5a 100644 --- a/aio/content/examples/attribute-binding/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/attribute-binding/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by } from 'protractor'; describe('Attribute binding example', function () { diff --git a/aio/content/examples/attribute-directives/e2e/src/app.e2e-spec.ts b/aio/content/examples/attribute-directives/e2e/src/app.e2e-spec.ts index 019469c338..855a48af38 100644 --- a/aio/content/examples/attribute-directives/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/attribute-directives/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by } from 'protractor'; describe('Attribute directives', () => { diff --git a/aio/content/examples/built-in-directives/e2e/src/app.e2e-spec.ts b/aio/content/examples/built-in-directives/e2e/src/app.e2e-spec.ts index 261afac3d4..6e6170bdcb 100644 --- a/aio/content/examples/built-in-directives/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/built-in-directives/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; - import { browser, element, by } from 'protractor'; describe('Built-in Directives', function () { diff --git a/aio/content/examples/built-in-template-functions/e2e/src/app.e2e-spec.ts b/aio/content/examples/built-in-template-functions/e2e/src/app.e2e-spec.ts index 79c9f38d1c..adc656fadd 100644 --- a/aio/content/examples/built-in-template-functions/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/built-in-template-functions/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by } from 'protractor'; describe('Built Template Functions Example', function () { diff --git a/aio/content/examples/component-interaction/e2e/src/app.e2e-spec.ts b/aio/content/examples/component-interaction/e2e/src/app.e2e-spec.ts index abc8ecf765..14ef3726c8 100644 --- a/aio/content/examples/component-interaction/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/component-interaction/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by } from 'protractor'; describe('Component Communication Cookbook Tests', function () { diff --git a/aio/content/examples/component-styles/e2e/src/app.e2e-spec.ts b/aio/content/examples/component-styles/e2e/src/app.e2e-spec.ts index 910f9351d4..f5e76ce3c2 100644 --- a/aio/content/examples/component-styles/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/component-styles/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by } from 'protractor'; describe('Component Style Tests', function () { diff --git a/aio/content/examples/dependency-injection-in-action/e2e/src/app.e2e-spec.ts b/aio/content/examples/dependency-injection-in-action/e2e/src/app.e2e-spec.ts index 4d611f5698..bd3fbedacb 100644 --- a/aio/content/examples/dependency-injection-in-action/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/dependency-injection-in-action/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by } from 'protractor'; describe('Dependency Injection Cookbook', function () { diff --git a/aio/content/examples/dependency-injection/e2e/src/app.e2e-spec.ts b/aio/content/examples/dependency-injection/e2e/src/app.e2e-spec.ts index 00bf3a9d0a..2765e39ad7 100644 --- a/aio/content/examples/dependency-injection/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/dependency-injection/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by, ElementFinder } from 'protractor'; describe('Dependency Injection Tests', function () { diff --git a/aio/content/examples/displaying-data/e2e/src/app.e2e-spec.ts b/aio/content/examples/displaying-data/e2e/src/app.e2e-spec.ts index 96c52c5d00..5ee71a2e31 100644 --- a/aio/content/examples/displaying-data/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/displaying-data/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by } from 'protractor'; describe('Displaying Data Tests', function () { diff --git a/aio/content/examples/docs-style-guide/e2e/src/app.e2e-spec.ts b/aio/content/examples/docs-style-guide/e2e/src/app.e2e-spec.ts index 68cf02313b..d540a47486 100644 --- a/aio/content/examples/docs-style-guide/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/docs-style-guide/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by } from 'protractor'; describe('Docs Style Guide', function () { diff --git a/aio/content/examples/dynamic-component-loader/e2e/src/app.e2e-spec.ts b/aio/content/examples/dynamic-component-loader/e2e/src/app.e2e-spec.ts index b04412c28b..84d95fb873 100644 --- a/aio/content/examples/dynamic-component-loader/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/dynamic-component-loader/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by } from 'protractor'; /* tslint:disable:quotemark */ diff --git a/aio/content/examples/dynamic-form/e2e/src/app.e2e-spec.ts b/aio/content/examples/dynamic-form/e2e/src/app.e2e-spec.ts index 49eaba3f9c..3c461deac6 100644 --- a/aio/content/examples/dynamic-form/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/dynamic-form/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by } from 'protractor'; /* tslint:disable:quotemark */ diff --git a/aio/content/examples/elements/e2e/src/app.e2e-spec.ts b/aio/content/examples/elements/e2e/src/app.e2e-spec.ts index d939501a86..28127fa6ca 100644 --- a/aio/content/examples/elements/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/elements/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, by, element, ElementFinder, ExpectedConditions as EC } from 'protractor'; /* tslint:disable:quotemark */ diff --git a/aio/content/examples/event-binding/e2e/src/app.e2e-spec.ts b/aio/content/examples/event-binding/e2e/src/app.e2e-spec.ts index 881a49f700..002a0511f7 100644 --- a/aio/content/examples/event-binding/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/event-binding/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by, protractor } from 'protractor'; describe('Event binding example', function () { diff --git a/aio/content/examples/form-validation/e2e/src/app.e2e-spec.ts b/aio/content/examples/form-validation/e2e/src/app.e2e-spec.ts index e6f5e52951..b86f913e5c 100644 --- a/aio/content/examples/form-validation/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/form-validation/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for node! - import { browser, element, by, protractor, ElementFinder, ElementArrayFinder } from 'protractor'; // THESE TESTS ARE INCOMPLETE diff --git a/aio/content/examples/getting-started-v0/e2e/src/app.e2e-spec.ts b/aio/content/examples/getting-started-v0/e2e/src/app.e2e-spec.ts index 09aa3abfed..51c4d31c0d 100644 --- a/aio/content/examples/getting-started-v0/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/getting-started-v0/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by } from 'protractor'; describe('Getting Started V0', () => { diff --git a/aio/content/examples/getting-started/e2e/src/app.e2e-spec.ts b/aio/content/examples/getting-started/e2e/src/app.e2e-spec.ts index e2a2bd2db0..1a2c97301d 100644 --- a/aio/content/examples/getting-started/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/getting-started/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by, ExpectedConditions as EC, logging, ElementFinder, ElementArrayFinder } from 'protractor'; describe('Getting Started', () => { diff --git a/aio/content/examples/hierarchical-dependency-injection/e2e/src/app.e2e-spec.ts b/aio/content/examples/hierarchical-dependency-injection/e2e/src/app.e2e-spec.ts index 09a4f3d27b..138f2fe9e0 100644 --- a/aio/content/examples/hierarchical-dependency-injection/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/hierarchical-dependency-injection/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, by, element } from 'protractor'; describe('Hierarchical dependency injection', () => { diff --git a/aio/content/examples/inputs-outputs/e2e/src/app.e2e-spec.ts b/aio/content/examples/inputs-outputs/e2e/src/app.e2e-spec.ts index d62786fff5..ceed21576e 100644 --- a/aio/content/examples/inputs-outputs/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/inputs-outputs/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; - import { browser, element, by } from 'protractor'; import { logging } from 'selenium-webdriver'; diff --git a/aio/content/examples/lifecycle-hooks/e2e/src/app.e2e-spec.ts b/aio/content/examples/lifecycle-hooks/e2e/src/app.e2e-spec.ts index 7942db105d..286a41c2fe 100644 --- a/aio/content/examples/lifecycle-hooks/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/lifecycle-hooks/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, ElementFinder, by } from 'protractor'; describe('Lifecycle hooks', () => { diff --git a/aio/content/examples/ngmodules/e2e/src/app.e2e-spec.ts b/aio/content/examples/ngmodules/e2e/src/app.e2e-spec.ts index c1d63cf14c..66c9fad50d 100644 --- a/aio/content/examples/ngmodules/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/ngmodules/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by } from 'protractor'; describe('NgModule-example', function () { diff --git a/aio/content/examples/pipes/e2e/src/app.e2e-spec.ts b/aio/content/examples/pipes/e2e/src/app.e2e-spec.ts index ec9d15cbdf..4f0a95d314 100644 --- a/aio/content/examples/pipes/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/pipes/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by } from 'protractor'; const { version: angularVersion } = require('@angular/core/package.json'); diff --git a/aio/content/examples/reactive-forms/e2e/src/app.e2e-spec.ts b/aio/content/examples/reactive-forms/e2e/src/app.e2e-spec.ts index c895a39bcc..ce4f873963 100644 --- a/aio/content/examples/reactive-forms/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/reactive-forms/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by } from 'protractor'; describe('Reactive forms', function () { diff --git a/aio/content/examples/resolution-modifiers/src/app/app.module.ts b/aio/content/examples/resolution-modifiers/src/app/app.module.ts index dea2cd72a4..999b0900dc 100755 --- a/aio/content/examples/resolution-modifiers/src/app/app.module.ts +++ b/aio/content/examples/resolution-modifiers/src/app/app.module.ts @@ -1,4 +1,3 @@ -; import { OptionalComponent } from './optional/optional.component'; import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; diff --git a/aio/content/examples/router/e2e/src/app.e2e-spec.ts b/aio/content/examples/router/e2e/src/app.e2e-spec.ts index 9d0d9ed8bf..21efb83724 100644 --- a/aio/content/examples/router/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/router/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by, ExpectedConditions } from 'protractor'; const numDashboardTabs = 5; diff --git a/aio/content/examples/security/e2e/src/app.e2e-spec.ts b/aio/content/examples/security/e2e/src/app.e2e-spec.ts index bc2686d35c..5f22b3f06b 100644 --- a/aio/content/examples/security/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/security/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, By } from 'protractor'; describe('Security E2E Tests', () => { diff --git a/aio/content/examples/set-document-title/e2e/src/app.e2e-spec.ts b/aio/content/examples/set-document-title/e2e/src/app.e2e-spec.ts index b86deb9aa6..57f37f7c03 100644 --- a/aio/content/examples/set-document-title/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/set-document-title/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by, ElementFinder } from 'protractor'; describe('Set Document Title', function () { diff --git a/aio/content/examples/setup/e2e/src/app.e2e-spec.ts b/aio/content/examples/setup/e2e/src/app.e2e-spec.ts index 73921707ee..d3bf5835af 100644 --- a/aio/content/examples/setup/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/setup/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by } from 'protractor'; describe('QuickStart E2E Tests', function () { diff --git a/aio/content/examples/structural-directives/e2e/src/app.e2e-spec.ts b/aio/content/examples/structural-directives/e2e/src/app.e2e-spec.ts index 9023c4ea89..9f922eb326 100644 --- a/aio/content/examples/structural-directives/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/structural-directives/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by } from 'protractor'; describe('Structural Directives', function () { diff --git a/aio/content/examples/styleguide/e2e/src/app.e2e-spec.ts b/aio/content/examples/styleguide/e2e/src/app.e2e-spec.ts index 48d6dca6cd..0bfb9040db 100644 --- a/aio/content/examples/styleguide/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/styleguide/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by } from 'protractor'; describe('Style Guide', function () { diff --git a/aio/content/examples/template-reference-variables/e2e/src/app.e2e-spec.ts b/aio/content/examples/template-reference-variables/e2e/src/app.e2e-spec.ts index 3d742d5a97..85afc8870e 100644 --- a/aio/content/examples/template-reference-variables/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/template-reference-variables/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by } from 'protractor'; import { logging } from 'selenium-webdriver'; diff --git a/aio/content/examples/template-syntax/e2e/src/app.e2e-spec.ts b/aio/content/examples/template-syntax/e2e/src/app.e2e-spec.ts index 6483774f10..b44aeb7cdf 100644 --- a/aio/content/examples/template-syntax/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/template-syntax/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by } from 'protractor'; // TODO Not yet complete diff --git a/aio/content/examples/testing/e2e/src/app.e2e-spec.ts b/aio/content/examples/testing/e2e/src/app.e2e-spec.ts index aa28923782..3d235289ac 100644 --- a/aio/content/examples/testing/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/testing/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by, ElementFinder } from 'protractor'; describe('Testing Example', () => { diff --git a/aio/content/examples/toh-pt0/e2e/src/app.e2e-spec.ts b/aio/content/examples/toh-pt0/e2e/src/app.e2e-spec.ts index fa35fd0f05..88d50b9554 100644 --- a/aio/content/examples/toh-pt0/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/toh-pt0/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by } from 'protractor'; describe('Tour of Heroes', () => { diff --git a/aio/content/examples/toh-pt1/e2e/src/app.e2e-spec.ts b/aio/content/examples/toh-pt1/e2e/src/app.e2e-spec.ts index c8d2214f2b..d15cc6a3dc 100644 --- a/aio/content/examples/toh-pt1/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/toh-pt1/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by, ElementFinder } from 'protractor'; import { promise } from 'selenium-webdriver'; diff --git a/aio/content/examples/toh-pt2/e2e/src/app.e2e-spec.ts b/aio/content/examples/toh-pt2/e2e/src/app.e2e-spec.ts index ea2c445804..d8133c60f4 100644 --- a/aio/content/examples/toh-pt2/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/toh-pt2/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by, ElementFinder } from 'protractor'; import { promise } from 'selenium-webdriver'; diff --git a/aio/content/examples/toh-pt3/e2e/src/app.e2e-spec.ts b/aio/content/examples/toh-pt3/e2e/src/app.e2e-spec.ts index 5c1f4028db..02b1b11ac6 100644 --- a/aio/content/examples/toh-pt3/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/toh-pt3/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by, ElementFinder } from 'protractor'; import { promise } from 'selenium-webdriver'; diff --git a/aio/content/examples/toh-pt4/e2e/src/app.e2e-spec.ts b/aio/content/examples/toh-pt4/e2e/src/app.e2e-spec.ts index ee9de1000d..ae104b4011 100644 --- a/aio/content/examples/toh-pt4/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/toh-pt4/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by, ElementFinder } from 'protractor'; import { promise } from 'selenium-webdriver'; diff --git a/aio/content/examples/toh-pt5/e2e/src/app.e2e-spec.ts b/aio/content/examples/toh-pt5/e2e/src/app.e2e-spec.ts index e94b7e6ca6..13ad32cd11 100644 --- a/aio/content/examples/toh-pt5/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/toh-pt5/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by, ElementFinder } from 'protractor'; import { promise } from 'selenium-webdriver'; diff --git a/aio/content/examples/toh-pt6/e2e/src/app.e2e-spec.ts b/aio/content/examples/toh-pt6/e2e/src/app.e2e-spec.ts index cbd0df76d4..2d579dc763 100644 --- a/aio/content/examples/toh-pt6/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/toh-pt6/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by, ElementFinder, ElementArrayFinder } from 'protractor'; import { promise } from 'selenium-webdriver'; diff --git a/aio/content/examples/upgrade-module/e2e-spec.ts b/aio/content/examples/upgrade-module/e2e-spec.ts index 5c32ccd347..601a8430ab 100644 --- a/aio/content/examples/upgrade-module/e2e-spec.ts +++ b/aio/content/examples/upgrade-module/e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by } from 'protractor'; describe('Upgrade Tests', function () { diff --git a/aio/content/examples/upgrade-phonecat-1-typescript/app/app.animations.ts b/aio/content/examples/upgrade-phonecat-1-typescript/app/app.animations.ts index f0739b6405..61c7f2aced 100644 --- a/aio/content/examples/upgrade-phonecat-1-typescript/app/app.animations.ts +++ b/aio/content/examples/upgrade-phonecat-1-typescript/app/app.animations.ts @@ -1,5 +1,3 @@ -'use strict'; - angular. module('phonecatApp'). animation('.phone', function phoneAnimationFactory() { diff --git a/aio/content/examples/upgrade-phonecat-1-typescript/app/app.module.ts b/aio/content/examples/upgrade-phonecat-1-typescript/app/app.module.ts index ab6d353eeb..ece35279ed 100644 --- a/aio/content/examples/upgrade-phonecat-1-typescript/app/app.module.ts +++ b/aio/content/examples/upgrade-phonecat-1-typescript/app/app.module.ts @@ -1,5 +1,3 @@ -'use strict'; - // Define the `phonecatApp` module angular.module('phonecatApp', [ 'ngAnimate', diff --git a/aio/content/examples/upgrade-phonecat-1-typescript/app/core/checkmark/checkmark.filter.spec.ts b/aio/content/examples/upgrade-phonecat-1-typescript/app/core/checkmark/checkmark.filter.spec.ts index 1b2d77c30c..e1a665bc5c 100644 --- a/aio/content/examples/upgrade-phonecat-1-typescript/app/core/checkmark/checkmark.filter.spec.ts +++ b/aio/content/examples/upgrade-phonecat-1-typescript/app/core/checkmark/checkmark.filter.spec.ts @@ -1,5 +1,3 @@ -'use strict'; - describe('checkmark', () => { beforeEach(angular.mock.module('core')); diff --git a/aio/content/examples/upgrade-phonecat-1-typescript/app/core/core.module.ts b/aio/content/examples/upgrade-phonecat-1-typescript/app/core/core.module.ts index 84a91dc7a6..3cf3ab6445 100644 --- a/aio/content/examples/upgrade-phonecat-1-typescript/app/core/core.module.ts +++ b/aio/content/examples/upgrade-phonecat-1-typescript/app/core/core.module.ts @@ -1,4 +1,2 @@ -'use strict'; - // Define the `core` module angular.module('core', ['core.phone']); diff --git a/aio/content/examples/upgrade-phonecat-1-typescript/app/core/phone/phone.module.ts b/aio/content/examples/upgrade-phonecat-1-typescript/app/core/phone/phone.module.ts index 0b6b348899..71f2e74e26 100644 --- a/aio/content/examples/upgrade-phonecat-1-typescript/app/core/phone/phone.module.ts +++ b/aio/content/examples/upgrade-phonecat-1-typescript/app/core/phone/phone.module.ts @@ -1,4 +1,2 @@ -'use strict'; - // Define the `core.phone` module angular.module('core.phone', ['ngResource']); diff --git a/aio/content/examples/upgrade-phonecat-1-typescript/app/core/phone/phone.service.spec.ts b/aio/content/examples/upgrade-phonecat-1-typescript/app/core/phone/phone.service.spec.ts index 312036d71d..5e504376b5 100644 --- a/aio/content/examples/upgrade-phonecat-1-typescript/app/core/phone/phone.service.spec.ts +++ b/aio/content/examples/upgrade-phonecat-1-typescript/app/core/phone/phone.service.spec.ts @@ -1,5 +1,3 @@ -'use strict'; - describe('Phone', () => { let $httpBackend: angular.IHttpBackendService; let Phone: any; diff --git a/aio/content/examples/upgrade-phonecat-1-typescript/app/phone-detail/phone-detail.module.ts b/aio/content/examples/upgrade-phonecat-1-typescript/app/phone-detail/phone-detail.module.ts index fd7cb3b920..73d986f561 100644 --- a/aio/content/examples/upgrade-phonecat-1-typescript/app/phone-detail/phone-detail.module.ts +++ b/aio/content/examples/upgrade-phonecat-1-typescript/app/phone-detail/phone-detail.module.ts @@ -1,5 +1,3 @@ -'use strict'; - // Define the `phoneDetail` module angular.module('phoneDetail', [ 'ngRoute', diff --git a/aio/content/examples/upgrade-phonecat-1-typescript/app/phone-list/phone-list.component.spec.ts b/aio/content/examples/upgrade-phonecat-1-typescript/app/phone-list/phone-list.component.spec.ts index 19e1890817..212992cfa3 100644 --- a/aio/content/examples/upgrade-phonecat-1-typescript/app/phone-list/phone-list.component.spec.ts +++ b/aio/content/examples/upgrade-phonecat-1-typescript/app/phone-list/phone-list.component.spec.ts @@ -1,5 +1,3 @@ -'use strict'; - describe('phoneList', () => { // Load the module that contains the `phoneList` component before each test diff --git a/aio/content/examples/upgrade-phonecat-1-typescript/app/phone-list/phone-list.module.ts b/aio/content/examples/upgrade-phonecat-1-typescript/app/phone-list/phone-list.module.ts index 8ade7c5b88..7fd3a7517e 100644 --- a/aio/content/examples/upgrade-phonecat-1-typescript/app/phone-list/phone-list.module.ts +++ b/aio/content/examples/upgrade-phonecat-1-typescript/app/phone-list/phone-list.module.ts @@ -1,4 +1,2 @@ -'use strict'; - // Define the `phoneList` module angular.module('phoneList', ['core.phone']); diff --git a/aio/content/examples/upgrade-phonecat-1-typescript/e2e-spec.ts b/aio/content/examples/upgrade-phonecat-1-typescript/e2e-spec.ts index 210034d7a9..9abbd0648c 100644 --- a/aio/content/examples/upgrade-phonecat-1-typescript/e2e-spec.ts +++ b/aio/content/examples/upgrade-phonecat-1-typescript/e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by, ElementArrayFinder, ElementFinder } from 'protractor'; // Angular E2E Testing Guide: diff --git a/aio/content/examples/upgrade-phonecat-2-hybrid/app/app.animations.ts b/aio/content/examples/upgrade-phonecat-2-hybrid/app/app.animations.ts index f0739b6405..61c7f2aced 100644 --- a/aio/content/examples/upgrade-phonecat-2-hybrid/app/app.animations.ts +++ b/aio/content/examples/upgrade-phonecat-2-hybrid/app/app.animations.ts @@ -1,5 +1,3 @@ -'use strict'; - angular. module('phonecatApp'). animation('.phone', function phoneAnimationFactory() { diff --git a/aio/content/examples/upgrade-phonecat-2-hybrid/app/app.config.ts b/aio/content/examples/upgrade-phonecat-2-hybrid/app/app.config.ts index 458ed94250..3546c8b508 100644 --- a/aio/content/examples/upgrade-phonecat-2-hybrid/app/app.config.ts +++ b/aio/content/examples/upgrade-phonecat-2-hybrid/app/app.config.ts @@ -1,5 +1,3 @@ -'use strict'; - angular. module('phonecatApp'). config(['$locationProvider', '$routeProvider', diff --git a/aio/content/examples/upgrade-phonecat-2-hybrid/app/app.module.ajs.ts b/aio/content/examples/upgrade-phonecat-2-hybrid/app/app.module.ajs.ts index 089c3c7d85..cd07b1ac27 100644 --- a/aio/content/examples/upgrade-phonecat-2-hybrid/app/app.module.ajs.ts +++ b/aio/content/examples/upgrade-phonecat-2-hybrid/app/app.module.ajs.ts @@ -1,6 +1,4 @@ // #docregion -'use strict'; - // Define the `phonecatApp` AngularJS module angular.module('phonecatApp', [ 'ngAnimate', diff --git a/aio/content/examples/upgrade-phonecat-2-hybrid/app/core/core.module.ts b/aio/content/examples/upgrade-phonecat-2-hybrid/app/core/core.module.ts index 84a91dc7a6..3cf3ab6445 100644 --- a/aio/content/examples/upgrade-phonecat-2-hybrid/app/core/core.module.ts +++ b/aio/content/examples/upgrade-phonecat-2-hybrid/app/core/core.module.ts @@ -1,4 +1,2 @@ -'use strict'; - // Define the `core` module angular.module('core', ['core.phone']); diff --git a/aio/content/examples/upgrade-phonecat-2-hybrid/app/core/phone/phone.module.ts b/aio/content/examples/upgrade-phonecat-2-hybrid/app/core/phone/phone.module.ts index 0b6b348899..71f2e74e26 100644 --- a/aio/content/examples/upgrade-phonecat-2-hybrid/app/core/phone/phone.module.ts +++ b/aio/content/examples/upgrade-phonecat-2-hybrid/app/core/phone/phone.module.ts @@ -1,4 +1,2 @@ -'use strict'; - // Define the `core.phone` module angular.module('core.phone', ['ngResource']); diff --git a/aio/content/examples/upgrade-phonecat-2-hybrid/app/phone-detail/phone-detail.module.ts b/aio/content/examples/upgrade-phonecat-2-hybrid/app/phone-detail/phone-detail.module.ts index fd7cb3b920..73d986f561 100644 --- a/aio/content/examples/upgrade-phonecat-2-hybrid/app/phone-detail/phone-detail.module.ts +++ b/aio/content/examples/upgrade-phonecat-2-hybrid/app/phone-detail/phone-detail.module.ts @@ -1,5 +1,3 @@ -'use strict'; - // Define the `phoneDetail` module angular.module('phoneDetail', [ 'ngRoute', diff --git a/aio/content/examples/upgrade-phonecat-2-hybrid/app/phone-list/phone-list.module.ts b/aio/content/examples/upgrade-phonecat-2-hybrid/app/phone-list/phone-list.module.ts index 8ade7c5b88..7fd3a7517e 100644 --- a/aio/content/examples/upgrade-phonecat-2-hybrid/app/phone-list/phone-list.module.ts +++ b/aio/content/examples/upgrade-phonecat-2-hybrid/app/phone-list/phone-list.module.ts @@ -1,4 +1,2 @@ -'use strict'; - // Define the `phoneList` module angular.module('phoneList', ['core.phone']); diff --git a/aio/content/examples/upgrade-phonecat-2-hybrid/e2e-spec.ts b/aio/content/examples/upgrade-phonecat-2-hybrid/e2e-spec.ts index 69e57d7151..16762f2a22 100644 --- a/aio/content/examples/upgrade-phonecat-2-hybrid/e2e-spec.ts +++ b/aio/content/examples/upgrade-phonecat-2-hybrid/e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by } from 'protractor'; // Angular E2E Testing Guide: diff --git a/aio/content/examples/upgrade-phonecat-3-final/e2e-spec.ts b/aio/content/examples/upgrade-phonecat-3-final/e2e-spec.ts index 6f47c54d02..41cff3a4b5 100644 --- a/aio/content/examples/upgrade-phonecat-3-final/e2e-spec.ts +++ b/aio/content/examples/upgrade-phonecat-3-final/e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by } from 'protractor'; // Angular E2E Testing Guide: diff --git a/aio/content/examples/user-input/e2e/src/app.e2e-spec.ts b/aio/content/examples/user-input/e2e/src/app.e2e-spec.ts index b70bd2f113..80df6ed314 100644 --- a/aio/content/examples/user-input/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/user-input/e2e/src/app.e2e-spec.ts @@ -1,5 +1,3 @@ -'use strict'; // necessary for es6 output in node - import { browser, element, by, protractor } from 'protractor'; describe('User Input Tests', function () {