docs(cheatsheet): fix Dart cheatsheet

Also deletes an extraneous period from the JS cheatsheet.

Closes #5936
This commit is contained in:
Kathy Walrath 2015-12-15 17:36:40 -08:00 committed by Igor Minar
parent 24d5b665e1
commit a26053d3ff
7 changed files with 7 additions and 7 deletions

View File

@ -3,7 +3,7 @@ Bootstrapping
@cheatsheetIndex 0 @cheatsheetIndex 0
@description @description
{@target ts}`import {bootstrap} from 'angular2/platform/browser';`{@endtarget} {@target ts}`import {bootstrap} from 'angular2/platform/browser';`{@endtarget}
{@target js}Available from the `ng.platform.browser` namespace.{@endtarget} {@target js}Available from the `ng.platform.browser` namespace{@endtarget}
{@target dart}`import 'package:angular2/bootstrap.dart';`{@endtarget} {@target dart}`import 'package:angular2/bootstrap.dart';`{@endtarget}
@cheatsheetItem @cheatsheetItem

View File

@ -4,7 +4,7 @@ Built-in directives
@description @description
{@target ts}`import {NgIf, ...} from 'angular2/common';`{@endtarget} {@target ts}`import {NgIf, ...} from 'angular2/common';`{@endtarget}
{@target js}Available from the `ng.common` namespace{@endtarget} {@target js}Available from the `ng.common` namespace{@endtarget}
{@target dart}`import 'package:angular2/common.dart';`{@endtarget} {@target dart}Available using `platform_directives` in pubspec{@endtarget}
@cheatsheetItem @cheatsheetItem
syntax: syntax:

View File

@ -4,7 +4,7 @@ Class decorators
@description @description
{@target ts}`import {Directive, ...} from 'angular2/core';`{@endtarget} {@target ts}`import {Directive, ...} from 'angular2/core';`{@endtarget}
{@target js}Available from the `ng.core` namespace{@endtarget} {@target js}Available from the `ng.core` namespace{@endtarget}
{@target dart}`import 'package:angular2/core.dart';`{@endtarget} {@target dart}`import 'package:angular2/angular2.dart';`{@endtarget}
@cheatsheetItem @cheatsheetItem
syntax(ts): syntax(ts):

View File

@ -4,7 +4,7 @@ Dependency injection configuration
@description @description
{@target ts}`import {provide} from 'angular2/core';`{@endtarget} {@target ts}`import {provide} from 'angular2/core';`{@endtarget}
{@target js}Available from the `ng.core` namespace{@endtarget} {@target js}Available from the `ng.core` namespace{@endtarget}
{@target dart}`import 'package:angular2/core.dart';`{@endtarget} {@target dart}`import 'package:angular2/angular2.dart';`{@endtarget}
@cheatsheetItem @cheatsheetItem
syntax(ts dart): syntax(ts dart):

View File

@ -4,7 +4,7 @@ Class field decorators for directives and components
@description @description
{@target ts}`import {Input, ...} from 'angular2/core';`{@endtarget} {@target ts}`import {Input, ...} from 'angular2/core';`{@endtarget}
{@target js}Available from the `ng.core` namespace{@endtarget} {@target js}Available from the `ng.core` namespace{@endtarget}
{@target dart}`import 'package:angular2/core.dart';`{@endtarget} {@target dart}`import 'package:angular2/angular2.dart';`{@endtarget}
@cheatsheetItem @cheatsheetItem
syntax(ts dart): syntax(ts dart):

View File

@ -4,7 +4,7 @@ Forms
@description @description
{@target ts}`import {FORM_DIRECTIVES} from 'angular2/common';`{@endtarget} {@target ts}`import {FORM_DIRECTIVES} from 'angular2/common';`{@endtarget}
{@target js}Available from `ng.common.FORM_DIRECTIVES`{@endtarget} {@target js}Available from `ng.common.FORM_DIRECTIVES`{@endtarget}
{@target dart}`import 'package:angular2/common.dart';`{@endtarget} {@target dart}Available using `platform_directives` in pubspec{@endtarget}
@cheatsheetItem @cheatsheetItem
syntax: syntax:

View File

@ -4,7 +4,7 @@ Routing and navigation
@description @description
{@target ts}`import {RouteConfig, ROUTER_DIRECTIVES, ROUTER_PROVIDERS, ...} from 'angular2/router';`{@endtarget} {@target ts}`import {RouteConfig, ROUTER_DIRECTIVES, ROUTER_PROVIDERS, ...} from 'angular2/router';`{@endtarget}
{@target js}Available from the `ng.router` namespace{@endtarget} {@target js}Available from the `ng.router` namespace{@endtarget}
{@target dart}`import 'package:angular2/router.dart';`{@endtarget} {@target dart}`import 'package:angular2/angular2.dart';`{@endtarget}
@cheatsheetItem @cheatsheetItem