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 c1018c7dd3..48d6dca6cd 100644 --- a/aio/content/examples/styleguide/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/styleguide/e2e/src/app.e2e-spec.ts @@ -29,50 +29,6 @@ describe('Style Guide', function () { expect(input.isPresent()).toBe(true); }); - it('03-01', function () { - browser.get('#/03-01'); - - let div = element(by.tagName('sg-app > div')); - expect(div.getText()).toBe('The expected error is 42'); - }); - - it('03-02', function () { - browser.get('#/03-02'); - - let divs = element.all(by.tagName('sg-app > div')); - expect(divs.get(0).getText()).toBe('Heroes url: api/heroes'); - expect(divs.get(1).getText()).toBe('Villains url: api/villains'); - }); - - it('03-03', function () { - browser.get('#/03-03'); - - let div = element(by.tagName('sg-app > div')); - expect(div.getText()).toBe('Our hero is RubberMan and He is so elastic'); - }); - - it('03-04', function () { - browser.get('#/03-04'); - - let buttons = element.all(by.tagName('sg-app > button')); - expect(buttons.get(0).getText()).toBe('Show toast'); - expect(buttons.get(1).getText()).toBe('Hide toast'); - }); - - // temporarily disabled because of a weird issue when used with rxjs v6 with rxjs-compat - xit('03-06', function () { - browser.get('#/03-06'); - - let div = element(by.tagName('sg-app > div')); - expect(div.getText()).toBe('Actual favorite: Windstorm'); - - let lis = element.all(by.tagName('sg-app > ul > li')); - expect(lis.get(0).getText()).toBe('Windstorm'); - expect(lis.get(1).getText()).toBe('Bombasto'); - expect(lis.get(2).getText()).toBe('Magneta'); - expect(lis.get(3).getText()).toBe('Tornado'); - }); - it('04-10', function () { browser.get('#/04-10'); diff --git a/aio/content/examples/styleguide/src/03-01/app/app.component.ts b/aio/content/examples/styleguide/src/03-01/app/app.component.ts deleted file mode 100644 index cb9479d2d9..0000000000 --- a/aio/content/examples/styleguide/src/03-01/app/app.component.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Component, OnInit } from '@angular/core'; - -import { ExceptionService } from './core'; - -@Component({ - selector: 'sg-app', - template: '
The expected error is {{errorCode}}
', - providers: [ExceptionService] -}) -export class AppComponent implements OnInit { - errorCode: number; - - constructor(private exceptionService: ExceptionService) { } - - ngOnInit() { - this.errorCode = this.exceptionService.getException(); - } -} diff --git a/aio/content/examples/styleguide/src/03-01/app/app.module.ts b/aio/content/examples/styleguide/src/03-01/app/app.module.ts deleted file mode 100644 index 48079f21c7..0000000000 --- a/aio/content/examples/styleguide/src/03-01/app/app.module.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; - -import { AppComponent } from './app.component'; - -@NgModule({ - imports: [ - RouterModule.forChild([{ path: '03-01', component: AppComponent }]) - ], - declarations: [ - AppComponent - ], - exports: [ AppComponent ] -}) -export class AppModule {} diff --git a/aio/content/examples/styleguide/src/03-01/app/core/exception.service.avoid.ts b/aio/content/examples/styleguide/src/03-01/app/core/exception.service.avoid.ts deleted file mode 100644 index 0a22811fe3..0000000000 --- a/aio/content/examples/styleguide/src/03-01/app/core/exception.service.avoid.ts +++ /dev/null @@ -1,11 +0,0 @@ -// #docregion -import { Injectable } from '@angular/core'; - -@Injectable() -// #docregion example -/* avoid */ - -export class exceptionService { - constructor() { } -} -// #enddocregion example diff --git a/aio/content/examples/styleguide/src/03-01/app/core/exception.service.ts b/aio/content/examples/styleguide/src/03-01/app/core/exception.service.ts deleted file mode 100644 index dd77b4f7dc..0000000000 --- a/aio/content/examples/styleguide/src/03-01/app/core/exception.service.ts +++ /dev/null @@ -1,14 +0,0 @@ -// #docplaster -// #docregion -import { Injectable } from '@angular/core'; - -@Injectable() -// #docregion example -export class ExceptionService { - constructor() { } - // #enddocregion example - // testing harness - getException() { return 42; } - // #docregion example -} -// #enddocregion example diff --git a/aio/content/examples/styleguide/src/03-01/app/core/index.ts b/aio/content/examples/styleguide/src/03-01/app/core/index.ts deleted file mode 100644 index 8acaa4bcf9..0000000000 --- a/aio/content/examples/styleguide/src/03-01/app/core/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './exception.service'; diff --git a/aio/content/examples/styleguide/src/03-01/app/index.ts b/aio/content/examples/styleguide/src/03-01/app/index.ts deleted file mode 100644 index e120e2dbfd..0000000000 --- a/aio/content/examples/styleguide/src/03-01/app/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './core'; -export * from './app.component'; diff --git a/aio/content/examples/styleguide/src/03-02/app/app.component.ts b/aio/content/examples/styleguide/src/03-02/app/app.component.ts deleted file mode 100644 index 132ea54c85..0000000000 --- a/aio/content/examples/styleguide/src/03-02/app/app.component.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { Component } from '@angular/core'; - -import { heroesUrl, mockHeroes, VILLAINS_URL } from './core'; - -@Component({ - selector: 'sg-app', - template: ` -
Heroes url: {{heroesUrl}}
-
Villains url: {{villainsUrl}}
- -

Mock Heroes

-
{{hero}}
- ` -}) -export class AppComponent { - heroes = mockHeroes; // prefer - heroesUrl = heroesUrl; // prefer - villainsUrl = VILLAINS_URL; // tolerate -} diff --git a/aio/content/examples/styleguide/src/03-02/app/app.module.ts b/aio/content/examples/styleguide/src/03-02/app/app.module.ts deleted file mode 100644 index 2db4012ebf..0000000000 --- a/aio/content/examples/styleguide/src/03-02/app/app.module.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { NgModule } from '@angular/core'; -import { BrowserModule } from '@angular/platform-browser'; -import { RouterModule } from '@angular/router'; - -import { AppComponent } from './app.component'; - -@NgModule({ - imports: [ - BrowserModule, - RouterModule.forChild([{ path: '03-02', component: AppComponent }]) - ], - declarations: [ - AppComponent - ], - exports: [ AppComponent ] -}) -export class AppModule {} diff --git a/aio/content/examples/styleguide/src/03-02/app/core/data.service.ts b/aio/content/examples/styleguide/src/03-02/app/core/data.service.ts deleted file mode 100644 index 5c26478c7b..0000000000 --- a/aio/content/examples/styleguide/src/03-02/app/core/data.service.ts +++ /dev/null @@ -1,4 +0,0 @@ -// #docregion -export const mockHeroes = ['Sam', 'Jill']; // prefer -export const heroesUrl = 'api/heroes'; // prefer -export const VILLAINS_URL = 'api/villains'; // tolerate diff --git a/aio/content/examples/styleguide/src/03-02/app/core/index.ts b/aio/content/examples/styleguide/src/03-02/app/core/index.ts deleted file mode 100644 index 2ba773ede8..0000000000 --- a/aio/content/examples/styleguide/src/03-02/app/core/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './data.service'; diff --git a/aio/content/examples/styleguide/src/03-02/app/index.ts b/aio/content/examples/styleguide/src/03-02/app/index.ts deleted file mode 100644 index e120e2dbfd..0000000000 --- a/aio/content/examples/styleguide/src/03-02/app/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './core'; -export * from './app.component'; diff --git a/aio/content/examples/styleguide/src/03-03/app/app.component.ts b/aio/content/examples/styleguide/src/03-03/app/app.component.ts deleted file mode 100644 index 3ca522bc45..0000000000 --- a/aio/content/examples/styleguide/src/03-03/app/app.component.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Component, OnInit } from '@angular/core'; - -import { Hero, HeroCollectorService } from './core'; - -@Component({ - selector: 'sg-app', - template: '
Our hero is {{hero.name}} and {{hero.power}}
', - providers: [HeroCollectorService] -}) -export class AppComponent implements OnInit { - hero: Hero; - - constructor(private heroCollectorService: HeroCollectorService) { } - - ngOnInit() { - this.hero = this.heroCollectorService.getHero(); - } -} diff --git a/aio/content/examples/styleguide/src/03-03/app/app.module.ts b/aio/content/examples/styleguide/src/03-03/app/app.module.ts deleted file mode 100644 index 29b3d2e765..0000000000 --- a/aio/content/examples/styleguide/src/03-03/app/app.module.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; - -import { AppComponent } from './app.component'; - -@NgModule({ - imports: [ - RouterModule.forChild([{ path: '03-03', component: AppComponent }]) - ], - declarations: [ - AppComponent - ], - exports: [ AppComponent ] -}) -export class AppModule {} diff --git a/aio/content/examples/styleguide/src/03-03/app/core/hero-collector.service.avoid.ts b/aio/content/examples/styleguide/src/03-03/app/core/hero-collector.service.avoid.ts deleted file mode 100644 index f481af18b6..0000000000 --- a/aio/content/examples/styleguide/src/03-03/app/core/hero-collector.service.avoid.ts +++ /dev/null @@ -1,15 +0,0 @@ -// #docregion -// #docregion example -/* avoid */ - -import { Injectable } from '@angular/core'; - -import { IHero } from './hero.model.avoid'; - -@Injectable() -export class HeroCollectorService { - hero: IHero; - - constructor() { } -} -// #enddocregion example diff --git a/aio/content/examples/styleguide/src/03-03/app/core/hero-collector.service.ts b/aio/content/examples/styleguide/src/03-03/app/core/hero-collector.service.ts deleted file mode 100644 index 1df5c0deb0..0000000000 --- a/aio/content/examples/styleguide/src/03-03/app/core/hero-collector.service.ts +++ /dev/null @@ -1,25 +0,0 @@ -// #docplaster -// #docregion -// #docregion example -import { Injectable } from '@angular/core'; - -import { Hero } from './hero.model'; - -@Injectable() -export class HeroCollectorService { - hero: Hero; - - constructor() { } - // #enddocregion example - // testing harness - getHero() { - this.hero = { - name: 'RubberMan', - power: 'He is so elastic' - }; - - return this.hero; - } - // #docregion example -} -// #enddocregion example diff --git a/aio/content/examples/styleguide/src/03-03/app/core/hero.model.avoid.ts b/aio/content/examples/styleguide/src/03-03/app/core/hero.model.avoid.ts deleted file mode 100644 index ce93b2c59a..0000000000 --- a/aio/content/examples/styleguide/src/03-03/app/core/hero.model.avoid.ts +++ /dev/null @@ -1,14 +0,0 @@ -// #docregion -// #docregion example -/* avoid */ - -export interface IHero { - name: string; - power: string; -} - -export class Hero implements IHero { - name: string; - power: string; -} -// #enddocregion example diff --git a/aio/content/examples/styleguide/src/03-03/app/core/hero.model.ts b/aio/content/examples/styleguide/src/03-03/app/core/hero.model.ts deleted file mode 100644 index fab0d4cb97..0000000000 --- a/aio/content/examples/styleguide/src/03-03/app/core/hero.model.ts +++ /dev/null @@ -1,7 +0,0 @@ -// #docregion -// #docregion example -export interface Hero { - name: string; - power: string; -} -// #enddocregion example diff --git a/aio/content/examples/styleguide/src/03-03/app/core/index.ts b/aio/content/examples/styleguide/src/03-03/app/core/index.ts deleted file mode 100644 index 17ad67b0b1..0000000000 --- a/aio/content/examples/styleguide/src/03-03/app/core/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './hero-collector.service'; -export * from './hero.model'; diff --git a/aio/content/examples/styleguide/src/03-03/app/index.ts b/aio/content/examples/styleguide/src/03-03/app/index.ts deleted file mode 100644 index e120e2dbfd..0000000000 --- a/aio/content/examples/styleguide/src/03-03/app/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './core'; -export * from './app.component'; diff --git a/aio/content/examples/styleguide/src/03-04/app/app.component.ts b/aio/content/examples/styleguide/src/03-04/app/app.component.ts deleted file mode 100644 index 5aaf3402e1..0000000000 --- a/aio/content/examples/styleguide/src/03-04/app/app.component.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Component, OnInit } from '@angular/core'; - -import { ToastService } from './core'; - -@Component({ - selector: 'sg-app', - template: ` - - - `, - providers: [ToastService] -}) -export class AppComponent implements OnInit { - constructor(private toastService: ToastService) { } - - hide() { - this.toastService.hide(); - } - - show() { - this.toastService.show(); - } - - ngOnInit() { - this.toastService.activate('Hello Style Guide!'); - } -} diff --git a/aio/content/examples/styleguide/src/03-04/app/app.module.ts b/aio/content/examples/styleguide/src/03-04/app/app.module.ts deleted file mode 100644 index a5a8d5bb4e..0000000000 --- a/aio/content/examples/styleguide/src/03-04/app/app.module.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { NgModule } from '@angular/core'; -import { BrowserModule } from '@angular/platform-browser'; -import { RouterModule } from '@angular/router'; - -import { AppComponent } from './app.component'; - -@NgModule({ - imports: [ - BrowserModule, - RouterModule.forChild([{ path: '03-04', component: AppComponent }]) - ], - declarations: [ - AppComponent - ], - exports: [ AppComponent ] -}) -export class AppModule {} diff --git a/aio/content/examples/styleguide/src/03-04/app/core/index.ts b/aio/content/examples/styleguide/src/03-04/app/core/index.ts deleted file mode 100644 index e78b628f9c..0000000000 --- a/aio/content/examples/styleguide/src/03-04/app/core/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './toast.service'; diff --git a/aio/content/examples/styleguide/src/03-04/app/core/toast.service.avoid.ts b/aio/content/examples/styleguide/src/03-04/app/core/toast.service.avoid.ts deleted file mode 100644 index 0f3a7c25ea..0000000000 --- a/aio/content/examples/styleguide/src/03-04/app/core/toast.service.avoid.ts +++ /dev/null @@ -1,27 +0,0 @@ -// #docregion -// #docregion example -/* avoid */ - -import { Injectable } from '@angular/core'; - -@Injectable() -export class ToastService { - message: string; - - private _toastCount: number; - - hide() { - this._toastCount--; - this._log(); - } - - show() { - this._toastCount++; - this._log(); - } - - private _log() { - console.log(this.message); - } -} -// #enddocregion example diff --git a/aio/content/examples/styleguide/src/03-04/app/core/toast.service.ts b/aio/content/examples/styleguide/src/03-04/app/core/toast.service.ts deleted file mode 100644 index ab148a1732..0000000000 --- a/aio/content/examples/styleguide/src/03-04/app/core/toast.service.ts +++ /dev/null @@ -1,32 +0,0 @@ -// #docplaster -// #docregion -// #docregion example -import { Injectable } from '@angular/core'; - -@Injectable() -export class ToastService { - message: string; - - private toastCount: number; - - hide() { - this.toastCount--; - this.log(); - } - - show() { - this.toastCount++; - this.log(); - } - - private log() { - console.log(this.message); - } - // #enddocregion example - // testing harness - activate(message: string) { - this.message = message; - } - // #docregion example -} -// #enddocregion example diff --git a/aio/content/examples/styleguide/src/03-04/app/index.ts b/aio/content/examples/styleguide/src/03-04/app/index.ts deleted file mode 100644 index e120e2dbfd..0000000000 --- a/aio/content/examples/styleguide/src/03-04/app/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './core'; -export * from './app.component'; diff --git a/aio/content/examples/styleguide/src/03-06/app/app.component.html b/aio/content/examples/styleguide/src/03-06/app/app.component.html deleted file mode 100644 index 67fb0d5964..0000000000 --- a/aio/content/examples/styleguide/src/03-06/app/app.component.html +++ /dev/null @@ -1,6 +0,0 @@ -
Actual favorite: {{favorite?.name}}
- diff --git a/aio/content/examples/styleguide/src/03-06/app/app.component.ts b/aio/content/examples/styleguide/src/03-06/app/app.component.ts deleted file mode 100644 index 8ec308bc6a..0000000000 --- a/aio/content/examples/styleguide/src/03-06/app/app.component.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Component, OnInit } from '@angular/core'; - -import { Hero, HeroService } from './heroes'; -import { ExceptionService, SpinnerService, ToastService } from './core'; - -@Component({ - selector: 'sg-app', - templateUrl: './app.component.html', - providers: [HeroService, ExceptionService, SpinnerService, ToastService] -}) -export class AppComponent implements OnInit { - favorite: Hero; - heroes: Hero[]; - - constructor(private heroService: HeroService) { } - - ngOnInit() { - this.heroService.getHero(1).subscribe(hero => this.favorite = hero); - this.heroService.getHeroes().subscribe(heroes => this.heroes = heroes); - } -} diff --git a/aio/content/examples/styleguide/src/03-06/app/app.module.ts b/aio/content/examples/styleguide/src/03-06/app/app.module.ts deleted file mode 100644 index f259ce23a2..0000000000 --- a/aio/content/examples/styleguide/src/03-06/app/app.module.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { NgModule } from '@angular/core'; -import { BrowserModule } from '@angular/platform-browser'; -import { RouterModule } from '@angular/router'; - -import { AppComponent } from './app.component'; - -@NgModule({ - imports: [ - BrowserModule, - RouterModule.forChild([{ path: '03-06', component: AppComponent }]) - ], - declarations: [ - AppComponent - ], - exports: [ AppComponent ] -}) -export class AppModule {} diff --git a/aio/content/examples/styleguide/src/03-06/app/core/exception.service.ts b/aio/content/examples/styleguide/src/03-06/app/core/exception.service.ts deleted file mode 100644 index 7180c88e6b..0000000000 --- a/aio/content/examples/styleguide/src/03-06/app/core/exception.service.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { Injectable } from '@angular/core'; - -@Injectable() -export class ExceptionService { } diff --git a/aio/content/examples/styleguide/src/03-06/app/core/index.ts b/aio/content/examples/styleguide/src/03-06/app/core/index.ts deleted file mode 100644 index e4e6723f91..0000000000 --- a/aio/content/examples/styleguide/src/03-06/app/core/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -// #docregion -// #docregion example -export * from './exception.service'; -export * from './spinner'; -export * from './toast'; -// #enddocregion example diff --git a/aio/content/examples/styleguide/src/03-06/app/core/spinner/index.ts b/aio/content/examples/styleguide/src/03-06/app/core/spinner/index.ts deleted file mode 100644 index 19618714a5..0000000000 --- a/aio/content/examples/styleguide/src/03-06/app/core/spinner/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -// #docregion -export * from './spinner.service'; diff --git a/aio/content/examples/styleguide/src/03-06/app/core/spinner/spinner.service.ts b/aio/content/examples/styleguide/src/03-06/app/core/spinner/spinner.service.ts deleted file mode 100644 index ad5d2ed6e0..0000000000 --- a/aio/content/examples/styleguide/src/03-06/app/core/spinner/spinner.service.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Injectable } from '@angular/core'; - -export interface ISpinnerState { } - -@Injectable() -export class SpinnerService { - spinnerState: any; - - show() { } - - hide() { } -} diff --git a/aio/content/examples/styleguide/src/03-06/app/core/toast/index.ts b/aio/content/examples/styleguide/src/03-06/app/core/toast/index.ts deleted file mode 100644 index 0a88fb952d..0000000000 --- a/aio/content/examples/styleguide/src/03-06/app/core/toast/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -// #docregion -export * from './toast.service'; diff --git a/aio/content/examples/styleguide/src/03-06/app/core/toast/toast.service.ts b/aio/content/examples/styleguide/src/03-06/app/core/toast/toast.service.ts deleted file mode 100644 index e92e75ee45..0000000000 --- a/aio/content/examples/styleguide/src/03-06/app/core/toast/toast.service.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { Injectable } from '@angular/core'; - -@Injectable() -export class ToastService { - activate: (message?: string, title?: string) => void; -} diff --git a/aio/content/examples/styleguide/src/03-06/app/heroes/index.ts b/aio/content/examples/styleguide/src/03-06/app/heroes/index.ts deleted file mode 100644 index c3da79f741..0000000000 --- a/aio/content/examples/styleguide/src/03-06/app/heroes/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './shared'; diff --git a/aio/content/examples/styleguide/src/03-06/app/heroes/shared/hero.model.ts b/aio/content/examples/styleguide/src/03-06/app/heroes/shared/hero.model.ts deleted file mode 100644 index fab0d4cb97..0000000000 --- a/aio/content/examples/styleguide/src/03-06/app/heroes/shared/hero.model.ts +++ /dev/null @@ -1,7 +0,0 @@ -// #docregion -// #docregion example -export interface Hero { - name: string; - power: string; -} -// #enddocregion example diff --git a/aio/content/examples/styleguide/src/03-06/app/heroes/shared/hero.service.avoid.ts b/aio/content/examples/styleguide/src/03-06/app/heroes/shared/hero.service.avoid.ts deleted file mode 100644 index fea2e49d99..0000000000 --- a/aio/content/examples/styleguide/src/03-06/app/heroes/shared/hero.service.avoid.ts +++ /dev/null @@ -1,29 +0,0 @@ -// #docregion -// #docregion example -/* avoid */ - -import { ExceptionService, SpinnerService, ToastService } from '../../core'; -import { HttpClient } from '@angular/common/http'; -import { Injectable } from '@angular/core'; -import { Hero } from './hero.model'; -// #enddocregion example - -@Injectable() -export class HeroService { - - constructor( - private exceptionService: ExceptionService, - private spinnerService: SpinnerService, - private toastService: ToastService, - private http: HttpClient - ) { } - - getHero(id: number) { - return this.http.get(`api/heroes/${id}`); - } - - getHeroes() { - return this.http.get(`api/heroes`); - } - -} diff --git a/aio/content/examples/styleguide/src/03-06/app/heroes/shared/hero.service.ts b/aio/content/examples/styleguide/src/03-06/app/heroes/shared/hero.service.ts deleted file mode 100644 index 0dd5931a7a..0000000000 --- a/aio/content/examples/styleguide/src/03-06/app/heroes/shared/hero.service.ts +++ /dev/null @@ -1,30 +0,0 @@ -// #docregion -// #docregion example -import { HttpClient } from '@angular/common/http'; -import { Injectable } from '@angular/core'; - -import { ExceptionService, SpinnerService, ToastService } from '../../core'; -import { Hero } from './hero.model'; - -// #enddocregion example - -@Injectable() -export class HeroService { - cachedHeroes: Hero[]; - - constructor( - private exceptionService: ExceptionService, - private spinnerService: SpinnerService, - private toastService: ToastService, - private http: HttpClient - ) { } - - getHero(id: number) { - return this.http.get(`api/heroes/${id}`); - } - - getHeroes() { - return this.http.get(`api/heroes`); - } - -} diff --git a/aio/content/examples/styleguide/src/03-06/app/heroes/shared/index.ts b/aio/content/examples/styleguide/src/03-06/app/heroes/shared/index.ts deleted file mode 100644 index dbb150d3f8..0000000000 --- a/aio/content/examples/styleguide/src/03-06/app/heroes/shared/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './hero.model'; -export * from './hero.service'; diff --git a/aio/content/examples/styleguide/src/03-06/app/index.ts b/aio/content/examples/styleguide/src/03-06/app/index.ts deleted file mode 100644 index cf861e261a..0000000000 --- a/aio/content/examples/styleguide/src/03-06/app/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from './heroes'; -export * from './core'; -export * from './app.component'; diff --git a/aio/content/examples/styleguide/src/app/app.module.ts b/aio/content/examples/styleguide/src/app/app.module.ts index 2420170d4f..321577028a 100644 --- a/aio/content/examples/styleguide/src/app/app.module.ts +++ b/aio/content/examples/styleguide/src/app/app.module.ts @@ -16,11 +16,6 @@ import * as s0101 from '../01-01/app/app.module'; import * as s0205 from '../02-05/app/app.module'; import * as s0207 from '../02-07/app/app.module'; import * as s0208 from '../02-08/app/app.module'; -import * as s0301 from '../03-01/app/app.module'; -import * as s0302 from '../03-02/app/app.module'; -import * as s0303 from '../03-03/app/app.module'; -import * as s0304 from '../03-04/app/app.module'; -import * as s0306 from '../03-06/app/app.module'; import * as s0408 from '../04-08/app/app.module'; import * as s0410 from '../04-10/app/app.module'; import * as s0411 from '../04-11/app/app.module'; @@ -51,11 +46,6 @@ import * as s0901 from '../09-01/app/app.module'; s0205.AppModule, s0207.AppModule, s0208.AppModule, - s0301.AppModule, - s0302.AppModule, - s0303.AppModule, - s0304.AppModule, - s0306.AppModule, s0408.AppModule, s0410.AppModule, s0411.AppModule,