X Tutup
Skip to content

Commit 09a95a6

Browse files
committed
docs(cheatsheet/dart): fix imports
Closes angular#7872
1 parent 247964a commit 09a95a6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

modules/angular2/docs/cheatsheet/class-decorators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Class decorators
44
@description
55
{@target ts}`import {Directive, ...} from 'angular2/core';`{@endtarget}
66
{@target js}Available from the `ng.core` namespace{@endtarget}
7-
{@target dart}`import 'package:angular2/angular2.dart';`{@endtarget}
7+
{@target dart}`import 'package:angular2/core.dart';`{@endtarget}
88

99
@cheatsheetItem
1010
syntax(ts):

modules/angular2/docs/cheatsheet/dependency-injection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Dependency injection configuration
44
@description
55
{@target ts}`import {provide} from 'angular2/core';`{@endtarget}
66
{@target js}Available from the `ng.core` namespace{@endtarget}
7-
{@target dart}`import 'package:angular2/angular2.dart';`{@endtarget}
7+
{@target dart}`import 'package:angular2/core.dart';`{@endtarget}
88

99
@cheatsheetItem
1010
syntax(ts dart):

modules/angular2/docs/cheatsheet/directive-and-component-decorators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Class field decorators for directives and components
44
@description
55
{@target ts}`import {Input, ...} from 'angular2/core';`{@endtarget}
66
{@target js}Available from the `ng.core` namespace{@endtarget}
7-
{@target dart}`import 'package:angular2/angular2.dart';`{@endtarget}
7+
{@target dart}`import 'package:angular2/core.dart';`{@endtarget}
88

99
@cheatsheetItem
1010
syntax(ts dart):

modules/angular2/docs/cheatsheet/routing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Routing and navigation
44
@description
55
{@target ts}`import {RouteConfig, ROUTER_DIRECTIVES, ROUTER_PROVIDERS, ...} from 'angular2/router';`{@endtarget}
66
{@target js}Available from the `ng.router` namespace{@endtarget}
7-
{@target dart}`import 'package:angular2/angular2.dart';`{@endtarget}
7+
{@target dart}`import 'package:angular2/router.dart';`{@endtarget}
88

99

1010
@cheatsheetItem

0 commit comments

Comments
 (0)
X Tutup