Skip to content

Commit 3f50248

Browse files
Foxandxsswardbell
authored andcommitted
docs(style-guide): revisions for New World (repack)
closes angular#1260
1 parent cadd6c9 commit 3f50248

File tree

77 files changed

+269
-320
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+269
-320
lines changed

public/docs/_examples/style-guide/ts/01-01/app/app.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// #docregion
2-
/* recommended */
32

43
// app.component.ts
54
import { Component } from '@angular/core';

public/docs/_examples/style-guide/ts/01-01/app/heroes/shared/hero.service.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// #docregion
2-
/* recommended */
32
import { Injectable } from '@angular/core';
43

54
import { HEROES } from './mock-heroes';

public/docs/_examples/style-guide/ts/01-01/app/placeholder.ts

Lines changed: 0 additions & 93 deletions
This file was deleted.

public/docs/_examples/style-guide/ts/02-07/app/heroes/hero.component.avoid.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// #docregion
2-
import { Component } from 'angular2/core';
2+
import { Component } from '@angular/core';
33
// #docregion example
44
/* avoid */
55

public/docs/_examples/style-guide/ts/02-07/app/users/users.component.avoid.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// #docregion
2-
import { Component } from 'angular2/core';
2+
import { Component } from '@angular/core';
33
// #docregion example
44
/* avoid */
55

public/docs/_examples/style-guide/ts/02-08/app/shared/validate.directive.avoid.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// #docregion
2-
import { Directive } from 'angular2/core';
2+
import { Directive } from '@angular/core';
33
// #docregion example
44
/* avoid */
55

public/docs/_examples/style-guide/ts/03-01/app/shared/exception.service.avoid.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// #docregion
2-
import { Injectable } from 'angular2/core';
2+
import { Injectable } from '@angular/core';
33

44
@Injectable()
55
// #docregion example

public/docs/_examples/style-guide/ts/03-01/app/shared/exception.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// #docregion
2-
import { Injectable } from 'angular2/core';
2+
import { Injectable } from '@angular/core';
33

44
@Injectable()
55
// #docregion example

public/docs/_examples/style-guide/ts/03-03/app/shared/hero-collector.service.avoid.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// #docregion example
33
/* avoid */
44

5-
import { Injectable } from 'angular2/core';
5+
import { Injectable } from '@angular/core';
66

77
import { IHero } from './hero.model.avoid';
88

public/docs/_examples/style-guide/ts/03-03/app/shared/hero-collector.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// #docregion
22
// #docregion example
3-
import { Injectable } from 'angular2/core';
3+
import { Injectable } from '@angular/core';
44

55
import { Hero } from './hero.model';
66

0 commit comments

Comments
 (0)