diff --git a/public/docs/_examples/upgrade-module/e2e-spec.ts b/public/docs/_examples/upgrade-module/e2e-spec.ts index d7eefbbf1b..dbf29e3f53 100644 --- a/public/docs/_examples/upgrade-module/e2e-spec.ts +++ b/public/docs/_examples/upgrade-module/e2e-spec.ts @@ -9,7 +9,7 @@ describe('Upgrade Tests', function () { setProtractorToHybridMode(); }); - describe('NG1 Auto-bootstrap', function() { + describe('AngularJS Auto-bootstrap', function() { beforeAll(function () { browser.get('/index-ng-app.html'); @@ -21,7 +21,7 @@ describe('Upgrade Tests', function () { }); - describe('NG1 JavaScript Bootstrap', function() { + describe('AngularJS JavaScript Bootstrap', function() { beforeAll(function () { browser.get('/index-bootstrap.html'); @@ -33,10 +33,10 @@ describe('Upgrade Tests', function () { }); - describe('NG1-2 Hybrid Bootstrap', function() { + describe('AngularJS-Angular Hybrid Bootstrap', function() { beforeAll(function () { - browser.get('/index-1-2-hybrid-bootstrap.html'); + browser.get('/index-ajs-a-hybrid-bootstrap.html'); }); it('bootstraps as expected', function () { @@ -113,7 +113,7 @@ describe('Upgrade Tests', function () { describe('Downgraded component with content projection', function() { beforeAll(function () { - browser.get('/index-1-to-2-projection.html'); + browser.get('/index-ajs-to-a-projection.html'); }); it('can be transcluded into', function () { @@ -126,7 +126,7 @@ describe('Upgrade Tests', function () { describe('Upgraded component with transclusion', function() { beforeAll(function () { - browser.get('/index-2-to-1-transclusion.html'); + browser.get('/index-a-to-ajs-transclusion.html'); }); it('can be projected into', function () { @@ -136,10 +136,10 @@ describe('Upgrade Tests', function () { }); - describe('Upgrading NG1 Providers', function() { + describe('Upgrading AngularJS Providers', function() { beforeAll(function () { - browser.get('/index-1-to-2-providers.html'); + browser.get('/index-ajs-to-a-providers.html'); }); it('works', function () { @@ -149,10 +149,10 @@ describe('Upgrade Tests', function () { }); - describe('Downgrading NG2 Providers', function() { + describe('Downgrading Angular Providers', function() { beforeAll(function () { - browser.get('/index-2-to-1-providers.html'); + browser.get('/index-a-to-ajs-providers.html'); }); it('works', function () { diff --git a/public/docs/_examples/upgrade-module/ts/app/2-to-1-providers/app.module.ts b/public/docs/_examples/upgrade-module/ts/app/a-to-ajs-providers/app.module.ts similarity index 100% rename from public/docs/_examples/upgrade-module/ts/app/2-to-1-providers/app.module.ts rename to public/docs/_examples/upgrade-module/ts/app/a-to-ajs-providers/app.module.ts diff --git a/public/docs/_examples/upgrade-module/ts/app/2-to-1-providers/hero-detail.component.ts b/public/docs/_examples/upgrade-module/ts/app/a-to-ajs-providers/hero-detail.component.ts similarity index 100% rename from public/docs/_examples/upgrade-module/ts/app/2-to-1-providers/hero-detail.component.ts rename to public/docs/_examples/upgrade-module/ts/app/a-to-ajs-providers/hero-detail.component.ts diff --git a/public/docs/_examples/upgrade-module/ts/app/2-to-1-providers/heroes.ts b/public/docs/_examples/upgrade-module/ts/app/a-to-ajs-providers/heroes.ts similarity index 100% rename from public/docs/_examples/upgrade-module/ts/app/2-to-1-providers/heroes.ts rename to public/docs/_examples/upgrade-module/ts/app/a-to-ajs-providers/heroes.ts diff --git a/public/docs/_examples/upgrade-module/ts/app/2-to-1-transclusion/app.module.ts b/public/docs/_examples/upgrade-module/ts/app/a-to-ajs-transclusion/app.module.ts similarity index 100% rename from public/docs/_examples/upgrade-module/ts/app/2-to-1-transclusion/app.module.ts rename to public/docs/_examples/upgrade-module/ts/app/a-to-ajs-transclusion/app.module.ts diff --git a/public/docs/_examples/upgrade-module/ts/app/2-to-1-transclusion/container.component.ts b/public/docs/_examples/upgrade-module/ts/app/a-to-ajs-transclusion/container.component.ts similarity index 100% rename from public/docs/_examples/upgrade-module/ts/app/2-to-1-transclusion/container.component.ts rename to public/docs/_examples/upgrade-module/ts/app/a-to-ajs-transclusion/container.component.ts diff --git a/public/docs/_examples/upgrade-module/ts/app/2-to-1-transclusion/hero-detail.component.ts b/public/docs/_examples/upgrade-module/ts/app/a-to-ajs-transclusion/hero-detail.component.ts similarity index 100% rename from public/docs/_examples/upgrade-module/ts/app/2-to-1-transclusion/hero-detail.component.ts rename to public/docs/_examples/upgrade-module/ts/app/a-to-ajs-transclusion/hero-detail.component.ts diff --git a/public/docs/_examples/upgrade-module/ts/app/1-2-hybrid-bootstrap/app.module.ts b/public/docs/_examples/upgrade-module/ts/app/ajs-a-hybrid-bootstrap/app.module.ts similarity index 100% rename from public/docs/_examples/upgrade-module/ts/app/1-2-hybrid-bootstrap/app.module.ts rename to public/docs/_examples/upgrade-module/ts/app/ajs-a-hybrid-bootstrap/app.module.ts diff --git a/public/docs/_examples/upgrade-module/ts/app/1-bootstrap/app.module.ts b/public/docs/_examples/upgrade-module/ts/app/ajs-bootstrap/app.module.ts similarity index 100% rename from public/docs/_examples/upgrade-module/ts/app/1-bootstrap/app.module.ts rename to public/docs/_examples/upgrade-module/ts/app/ajs-bootstrap/app.module.ts diff --git a/public/docs/_examples/upgrade-module/ts/app/1-ng-app/app.module.ts b/public/docs/_examples/upgrade-module/ts/app/ajs-ng-app/app.module.ts similarity index 100% rename from public/docs/_examples/upgrade-module/ts/app/1-ng-app/app.module.ts rename to public/docs/_examples/upgrade-module/ts/app/ajs-ng-app/app.module.ts diff --git a/public/docs/_examples/upgrade-module/ts/app/1-to-2-projection/app.module.ts b/public/docs/_examples/upgrade-module/ts/app/ajs-to-a-projection/app.module.ts similarity index 100% rename from public/docs/_examples/upgrade-module/ts/app/1-to-2-projection/app.module.ts rename to public/docs/_examples/upgrade-module/ts/app/ajs-to-a-projection/app.module.ts diff --git a/public/docs/_examples/upgrade-module/ts/app/1-to-2-projection/hero-detail.component.ts b/public/docs/_examples/upgrade-module/ts/app/ajs-to-a-projection/hero-detail.component.ts similarity index 100% rename from public/docs/_examples/upgrade-module/ts/app/1-to-2-projection/hero-detail.component.ts rename to public/docs/_examples/upgrade-module/ts/app/ajs-to-a-projection/hero-detail.component.ts diff --git a/public/docs/_examples/upgrade-module/ts/app/1-to-2-projection/main.controller.ts b/public/docs/_examples/upgrade-module/ts/app/ajs-to-a-projection/main.controller.ts similarity index 100% rename from public/docs/_examples/upgrade-module/ts/app/1-to-2-projection/main.controller.ts rename to public/docs/_examples/upgrade-module/ts/app/ajs-to-a-projection/main.controller.ts diff --git a/public/docs/_examples/upgrade-module/ts/app/1-to-2-providers/app.module.ts b/public/docs/_examples/upgrade-module/ts/app/ajs-to-a-providers/app.module.ts similarity index 100% rename from public/docs/_examples/upgrade-module/ts/app/1-to-2-providers/app.module.ts rename to public/docs/_examples/upgrade-module/ts/app/ajs-to-a-providers/app.module.ts diff --git a/public/docs/_examples/upgrade-module/ts/app/1-to-2-providers/hero-detail.component.ts b/public/docs/_examples/upgrade-module/ts/app/ajs-to-a-providers/hero-detail.component.ts similarity index 100% rename from public/docs/_examples/upgrade-module/ts/app/1-to-2-providers/hero-detail.component.ts rename to public/docs/_examples/upgrade-module/ts/app/ajs-to-a-providers/hero-detail.component.ts diff --git a/public/docs/_examples/upgrade-module/ts/app/1-to-2-providers/heroes.service.ts b/public/docs/_examples/upgrade-module/ts/app/ajs-to-a-providers/heroes.service.ts similarity index 100% rename from public/docs/_examples/upgrade-module/ts/app/1-to-2-providers/heroes.service.ts rename to public/docs/_examples/upgrade-module/ts/app/ajs-to-a-providers/heroes.service.ts diff --git a/public/docs/_examples/upgrade-module/ts/index-1-to-2-providers.html b/public/docs/_examples/upgrade-module/ts/index-a-to-ajs-providers.html similarity index 93% rename from public/docs/_examples/upgrade-module/ts/index-1-to-2-providers.html rename to public/docs/_examples/upgrade-module/ts/index-a-to-ajs-providers.html index 13835851c6..bce9e95462 100644 --- a/public/docs/_examples/upgrade-module/ts/index-1-to-2-providers.html +++ b/public/docs/_examples/upgrade-module/ts/index-a-to-ajs-providers.html @@ -16,7 +16,7 @@ diff --git a/public/docs/_examples/upgrade-module/ts/index-2-to-1-transclusion.html b/public/docs/_examples/upgrade-module/ts/index-a-to-ajs-transclusion.html similarity index 92% rename from public/docs/_examples/upgrade-module/ts/index-2-to-1-transclusion.html rename to public/docs/_examples/upgrade-module/ts/index-a-to-ajs-transclusion.html index 797e0b7848..7fe3e29e20 100644 --- a/public/docs/_examples/upgrade-module/ts/index-2-to-1-transclusion.html +++ b/public/docs/_examples/upgrade-module/ts/index-a-to-ajs-transclusion.html @@ -16,7 +16,7 @@ diff --git a/public/docs/_examples/upgrade-module/ts/index-1-2-hybrid-bootstrap.html b/public/docs/_examples/upgrade-module/ts/index-ajs-a-hybrid-bootstrap.html similarity index 93% rename from public/docs/_examples/upgrade-module/ts/index-1-2-hybrid-bootstrap.html rename to public/docs/_examples/upgrade-module/ts/index-ajs-a-hybrid-bootstrap.html index 2973a092f7..667f8dae4f 100644 --- a/public/docs/_examples/upgrade-module/ts/index-1-2-hybrid-bootstrap.html +++ b/public/docs/_examples/upgrade-module/ts/index-ajs-a-hybrid-bootstrap.html @@ -16,7 +16,7 @@ diff --git a/public/docs/_examples/upgrade-module/ts/index-1-to-2-projection.html b/public/docs/_examples/upgrade-module/ts/index-ajs-to-a-projection.html similarity index 94% rename from public/docs/_examples/upgrade-module/ts/index-1-to-2-projection.html rename to public/docs/_examples/upgrade-module/ts/index-ajs-to-a-projection.html index a6ea80f004..b07fb6701b 100644 --- a/public/docs/_examples/upgrade-module/ts/index-1-to-2-projection.html +++ b/public/docs/_examples/upgrade-module/ts/index-ajs-to-a-projection.html @@ -16,7 +16,7 @@ diff --git a/public/docs/_examples/upgrade-module/ts/index-2-to-1-providers.html b/public/docs/_examples/upgrade-module/ts/index-ajs-to-a-providers.html similarity index 93% rename from public/docs/_examples/upgrade-module/ts/index-2-to-1-providers.html rename to public/docs/_examples/upgrade-module/ts/index-ajs-to-a-providers.html index c8936d05d2..0ae72b9ee8 100644 --- a/public/docs/_examples/upgrade-module/ts/index-2-to-1-providers.html +++ b/public/docs/_examples/upgrade-module/ts/index-ajs-to-a-providers.html @@ -16,7 +16,7 @@ diff --git a/public/docs/_examples/upgrade-module/ts/index-bootstrap.html b/public/docs/_examples/upgrade-module/ts/index-bootstrap.html index 430dfbde80..ca56574c04 100644 --- a/public/docs/_examples/upgrade-module/ts/index-bootstrap.html +++ b/public/docs/_examples/upgrade-module/ts/index-bootstrap.html @@ -3,7 +3,7 @@
- + diff --git a/public/docs/_examples/upgrade-module/ts/index-ng-app.html b/public/docs/_examples/upgrade-module/ts/index-ng-app.html index 2b793fe949..ef0ac4ccac 100644 --- a/public/docs/_examples/upgrade-module/ts/index-ng-app.html +++ b/public/docs/_examples/upgrade-module/ts/index-ng-app.html @@ -3,7 +3,7 @@ - + diff --git a/public/docs/_examples/upgrade-phonecat-1-typescript/README.md b/public/docs/_examples/upgrade-phonecat-1-typescript/README.md index 41193bb9bc..f3433b901a 100644 --- a/public/docs/_examples/upgrade-phonecat-1-typescript/README.md +++ b/public/docs/_examples/upgrade-phonecat-1-typescript/README.md @@ -3,13 +3,13 @@ structure. The following changes from vanilla Phonecat are applied: -* The TypeScript config file shown in the guide is `tsconfig.ng1.json` instead +* The TypeScript config file shown in the guide is `tsconfig.ajs.json` instead of the default, because we don't want to enable `noImplicitAny` for migration. -* Karma config for unit tests is in karma.conf.ng1.js because the boilerplate +* Karma config for unit tests is in karma.conf.ajs.js because the boilerplate Karma config is not compatible with the way AngularJS tests need to be run. The shell script run-unit-tests.sh can be used to run the unit tests. * Instead of using Bower, AngularJS and its dependencies are fetched from a CDN - in index.html and karma.conf.ng1.js. + in index.html and karma.conf.ajs.js. * E2E tests have been moved to the parent directory, where `gulp run-e2e-tests` can discover and run them along with all the other examples. * Most of the phone JSON and image data removed in the interest of keeping diff --git a/public/docs/_examples/upgrade-phonecat-1-typescript/ts/.gitignore b/public/docs/_examples/upgrade-phonecat-1-typescript/ts/.gitignore new file mode 100644 index 0000000000..448efbe632 --- /dev/null +++ b/public/docs/_examples/upgrade-phonecat-1-typescript/ts/.gitignore @@ -0,0 +1 @@ +!karma.conf.ajs.js diff --git a/public/docs/_examples/upgrade-phonecat-1-typescript/ts/karma.conf.ng1.js b/public/docs/_examples/upgrade-phonecat-1-typescript/ts/karma.conf.ajs.js similarity index 100% rename from public/docs/_examples/upgrade-phonecat-1-typescript/ts/karma.conf.ng1.js rename to public/docs/_examples/upgrade-phonecat-1-typescript/ts/karma.conf.ajs.js diff --git a/public/docs/_examples/upgrade-phonecat-1-typescript/ts/run-unit-tests.sh b/public/docs/_examples/upgrade-phonecat-1-typescript/ts/run-unit-tests.sh index 034dfd249b..239e5ff7d7 100755 --- a/public/docs/_examples/upgrade-phonecat-1-typescript/ts/run-unit-tests.sh +++ b/public/docs/_examples/upgrade-phonecat-1-typescript/ts/run-unit-tests.sh @@ -1,7 +1,7 @@ ## The boilerplate Karma configuration won't work with AngularJS tests since ## a specific loading configuration is needed for them. -## We keep one in karma.conf.ng1.js. This scripts runs the ng1 tests with +## We keep one in karma.conf.ajs.js. This scripts runs the AngularJS tests with ## that config. PATH=$(npm bin):$PATH -tsc && karma start karma.conf.ng1.js +tsc && karma start karma.conf.ajs.js diff --git a/public/docs/_examples/upgrade-phonecat-1-typescript/ts/tsconfig.ng1.json b/public/docs/_examples/upgrade-phonecat-1-typescript/ts/tsconfig.ajs.json similarity index 100% rename from public/docs/_examples/upgrade-phonecat-1-typescript/ts/tsconfig.ng1.json rename to public/docs/_examples/upgrade-phonecat-1-typescript/ts/tsconfig.ajs.json diff --git a/public/docs/_examples/upgrade-phonecat-2-hybrid/README.md b/public/docs/_examples/upgrade-phonecat-2-hybrid/README.md index c1410b19ee..b005739148 100644 --- a/public/docs/_examples/upgrade-phonecat-2-hybrid/README.md +++ b/public/docs/_examples/upgrade-phonecat-2-hybrid/README.md @@ -3,15 +3,15 @@ structure. The following changes from vanilla Phonecat are applied: -* Karma config for unit tests is in karma.conf.ng1.js because the boilerplate +* Karma config for unit tests is in karma.conf.ajs.js because the boilerplate Karma config is not compatible with the way AngularJS tests need to be run. The shell script run-unit-tests.sh can be used to run the unit tests. -* There's a `package.ng1.json`, which is not used to run anything but only to +* There's a `package.ajs.json`, which is not used to run anything but only to show an example of changing the PhoneCat http-server root path. * Also for the Karma shim, there is a `karma-test-shim.1.js` file which isn't used but is shown in the test appendix. * Instead of using Bower, AngularJS and its dependencies are fetched from a CDN - in index.html and karma.conf.ng1.js. + in index.html and karma.conf.ajs.js. * E2E tests have been moved to the parent directory, where `run-e2e-tests` can discover and run them along with all the other examples. * Most of the phone JSON and image data removed in the interest of keeping diff --git a/public/docs/_examples/upgrade-phonecat-2-hybrid/ts/.gitignore b/public/docs/_examples/upgrade-phonecat-2-hybrid/ts/.gitignore index 804879d44a..523bc97f59 100644 --- a/public/docs/_examples/upgrade-phonecat-2-hybrid/ts/.gitignore +++ b/public/docs/_examples/upgrade-phonecat-2-hybrid/ts/.gitignore @@ -6,3 +6,4 @@ aot/**/*.ts dist !app/tsconfig.json !rollup-config.js +!karma.conf.ajs.js diff --git a/public/docs/_examples/upgrade-phonecat-2-hybrid/ts/app/app.module.ng1.ts b/public/docs/_examples/upgrade-phonecat-2-hybrid/ts/app/app.module.ajs.ts similarity index 100% rename from public/docs/_examples/upgrade-phonecat-2-hybrid/ts/app/app.module.ng1.ts rename to public/docs/_examples/upgrade-phonecat-2-hybrid/ts/app/app.module.ajs.ts diff --git a/public/docs/_examples/upgrade-phonecat-2-hybrid/ts/app/phone-detail/phone-detail.component.ng1.ts b/public/docs/_examples/upgrade-phonecat-2-hybrid/ts/app/phone-detail/phone-detail.component.ajs.ts similarity index 100% rename from public/docs/_examples/upgrade-phonecat-2-hybrid/ts/app/phone-detail/phone-detail.component.ng1.ts rename to public/docs/_examples/upgrade-phonecat-2-hybrid/ts/app/phone-detail/phone-detail.component.ajs.ts diff --git a/public/docs/_examples/upgrade-phonecat-2-hybrid/ts/app/phone-list/phone-list.component.ng1.ts b/public/docs/_examples/upgrade-phonecat-2-hybrid/ts/app/phone-list/phone-list.component.ajs.ts similarity index 100% rename from public/docs/_examples/upgrade-phonecat-2-hybrid/ts/app/phone-list/phone-list.component.ng1.ts rename to public/docs/_examples/upgrade-phonecat-2-hybrid/ts/app/phone-list/phone-list.component.ajs.ts diff --git a/public/docs/_examples/upgrade-phonecat-2-hybrid/ts/index.html b/public/docs/_examples/upgrade-phonecat-2-hybrid/ts/index.html index 28abb73f5e..f747e641e0 100644 --- a/public/docs/_examples/upgrade-phonecat-2-hybrid/ts/index.html +++ b/public/docs/_examples/upgrade-phonecat-2-hybrid/ts/index.html @@ -17,7 +17,7 @@ - + @@ -25,18 +25,18 @@ - + - + - + diff --git a/public/docs/_examples/upgrade-phonecat-2-hybrid/ts/karma.conf.ng1.js b/public/docs/_examples/upgrade-phonecat-2-hybrid/ts/karma.conf.ajs.js similarity index 100% rename from public/docs/_examples/upgrade-phonecat-2-hybrid/ts/karma.conf.ng1.js rename to public/docs/_examples/upgrade-phonecat-2-hybrid/ts/karma.conf.ajs.js diff --git a/public/docs/_examples/upgrade-phonecat-2-hybrid/ts/package.ng1.json b/public/docs/_examples/upgrade-phonecat-2-hybrid/ts/package.ajs.json similarity index 100% rename from public/docs/_examples/upgrade-phonecat-2-hybrid/ts/package.ng1.json rename to public/docs/_examples/upgrade-phonecat-2-hybrid/ts/package.ajs.json diff --git a/public/docs/_examples/upgrade-phonecat-2-hybrid/ts/run-unit-tests.sh b/public/docs/_examples/upgrade-phonecat-2-hybrid/ts/run-unit-tests.sh index 034dfd249b..239e5ff7d7 100755 --- a/public/docs/_examples/upgrade-phonecat-2-hybrid/ts/run-unit-tests.sh +++ b/public/docs/_examples/upgrade-phonecat-2-hybrid/ts/run-unit-tests.sh @@ -1,7 +1,7 @@ ## The boilerplate Karma configuration won't work with AngularJS tests since ## a specific loading configuration is needed for them. -## We keep one in karma.conf.ng1.js. This scripts runs the ng1 tests with +## We keep one in karma.conf.ajs.js. This scripts runs the AngularJS tests with ## that config. PATH=$(npm bin):$PATH -tsc && karma start karma.conf.ng1.js +tsc && karma start karma.conf.ajs.js diff --git a/public/docs/_examples/upgrade-phonecat-3-final/ts/karma.conf.ng1.js b/public/docs/_examples/upgrade-phonecat-3-final/ts/karma.conf.ng1.js deleted file mode 100644 index a52abf73ce..0000000000 --- a/public/docs/_examples/upgrade-phonecat-3-final/ts/karma.conf.ng1.js +++ /dev/null @@ -1,73 +0,0 @@ -//jshint strict: false -module.exports = function(config) { - config.set({ - - // #docregion basepath - basePath: './', - // #enddocregion basepath - - files: [ - 'https://code.angularjs.org/1.5.5/angular.js', - 'https://code.angularjs.org/1.5.5/angular-animate.js', - 'https://code.angularjs.org/1.5.5/angular-resource.js', - 'https://code.angularjs.org/1.5.5/angular-route.js', - 'https://code.angularjs.org/1.5.5/angular-mocks.js', - - // #docregion files - // System.js for module loading - 'node_modules/systemjs/dist/system.src.js', - - // Polyfills - 'node_modules/core-js/client/shim.js', - - // zone.js - 'node_modules/zone.js/dist/zone.js', - 'node_modules/zone.js/dist/long-stack-trace-zone.js', - 'node_modules/zone.js/dist/proxy.js', - 'node_modules/zone.js/dist/sync-test.js', - 'node_modules/zone.js/dist/jasmine-patch.js', - 'node_modules/zone.js/dist/async-test.js', - 'node_modules/zone.js/dist/fake-async-test.js', - - // RxJs. - { pattern: 'node_modules/rxjs/**/*.js', included: false, watched: false }, - { pattern: 'node_modules/rxjs/**/*.js.map', included: false, watched: false }, - - // Angular itself and the testing library - {pattern: 'node_modules/@angular/**/*.js', included: false, watched: false}, - {pattern: 'node_modules/@angular/**/*.js.map', included: false, watched: false}, - - {pattern: 'systemjs.config.js', included: false, watched: false}, - 'karma-test-shim.js', - - {pattern: 'app/**/*.module.js', included: false, watched: true}, - {pattern: 'app/*!(.module|.spec).js', included: false, watched: true}, - {pattern: 'app/!(bower_components)/**/*!(.module|.spec).js', included: false, watched: true}, - {pattern: 'app/**/*.spec.js', included: false, watched: true}, - - {pattern: '**/*.html', included: false, watched: true}, - // #enddocregion files - ], - - // #docregion html - // proxied base paths for loading assets - proxies: { - // required for component assets fetched by Angular's compiler - "/phone-detail": '/base/app/phone-detail', - "/phone-list": '/base/app/phone-list' - }, - // #enddocregion html - - autoWatch: true, - - frameworks: ['jasmine'], - - browsers: ['Chrome'], - - plugins: [ - 'karma-chrome-launcher', - 'karma-jasmine' - ] - - }); -}; diff --git a/public/docs/_examples/upgrade-phonecat-3-final/ts/run-unit-tests.sh b/public/docs/_examples/upgrade-phonecat-3-final/ts/run-unit-tests.sh deleted file mode 100755 index 034dfd249b..0000000000 --- a/public/docs/_examples/upgrade-phonecat-3-final/ts/run-unit-tests.sh +++ /dev/null @@ -1,7 +0,0 @@ -## The boilerplate Karma configuration won't work with AngularJS tests since -## a specific loading configuration is needed for them. -## We keep one in karma.conf.ng1.js. This scripts runs the ng1 tests with -## that config. - -PATH=$(npm bin):$PATH -tsc && karma start karma.conf.ng1.js diff --git a/public/docs/ts/latest/guide/upgrade.jade b/public/docs/ts/latest/guide/upgrade.jade index cd9339308d..61ee208469 100644 --- a/public/docs/ts/latest/guide/upgrade.jade +++ b/public/docs/ts/latest/guide/upgrade.jade @@ -334,8 +334,8 @@ code-example(language="html" escape="html"). The DOM element `