diff --git a/public/docs/_examples/router/ts/app/app.component.ts b/public/docs/_examples/router/ts/app/app.component.ts index 4d6761d162..7c7a8ddc2f 100644 --- a/public/docs/_examples/router/ts/app/app.component.ts +++ b/public/docs/_examples/router/ts/app/app.component.ts @@ -22,6 +22,7 @@ import {HeroDetailComponent} from './heroes/hero-detail.component'; // #docregion route-config @RouteConfig([ +/* // #docregion route-config-cc { // Crisis Center child route path: '/crisis-center/...', @@ -29,11 +30,15 @@ import {HeroDetailComponent} from './heroes/hero-detail.component'; component: CrisisCenterComponent, useAsDefault: true }, - // #enddocregion route-config-cc + // #enddocregion route-config-cc + */ + {path: '/crisis-center/...', name: 'CrisisCenter', component: CrisisCenterComponent, useAsDefault: true}, {path: '/heroes', name: 'Heroes', component: HeroListComponent}, {path: '/hero/:id', name: 'HeroDetail', component: HeroDetailComponent}, - {path: '/*other', redirectTo: ['Heroes']}, + // #docregion other + {path: '/*other', redirectTo: ['CrisisCenter']}, + // #enddocregion other ]) // #enddocregion route-config export class AppComponent { } diff --git a/public/docs/dart/latest/api/api-list.json b/public/docs/dart/latest/api/api-list.json new file mode 100644 index 0000000000..0967ef424b --- /dev/null +++ b/public/docs/dart/latest/api/api-list.json @@ -0,0 +1 @@ +{} diff --git a/public/docs/dart/latest/api/overview-dump.html b/public/docs/dart/latest/api/overview-dump.html new file mode 100644 index 0000000000..b26796f8ae --- /dev/null +++ b/public/docs/dart/latest/api/overview-dump.html @@ -0,0 +1,45 @@ + + + + + + + + + + + +

Module Overview

+ + + + + diff --git a/public/docs/dart/latest/guide/cheatsheet.json b/public/docs/dart/latest/guide/cheatsheet.json new file mode 100644 index 0000000000..a18289d76c --- /dev/null +++ b/public/docs/dart/latest/guide/cheatsheet.json @@ -0,0 +1,487 @@ +[ + { + "name": "Bootstrapping", + "description": "

\nimport 'package:angular2/bootstrap.dart';

\n", + "items": [ + { + "syntax": "bootstrap​(MyAppComponent, [MyService, provide(...)]);", + "bold": [ + "provide" + ], + "description": "

Bootstraps an application with MyAppComponent as the root component, and\nconfigures the app's dependency injection providers.

\n" + } + ], + "index": 0 + }, + { + "name": "Template syntax", + "description": "", + "items": [ + { + "syntax": "", + "bold": [ + "[value]" + ], + "description": "

Binds property value to the result of expression firstName.

\n" + }, + { + "syntax": "
", + "bold": [ + "[attr.role]" + ], + "description": "

Binds attribute role to the result of expression myAriaRole.

\n" + }, + { + "syntax": "
", + "bold": [ + "[class.extra-sparkle]" + ], + "description": "

Binds the presence of the CSS class extra-sparkle on the element to the truthiness of the expression isDelightful.

\n" + }, + { + "syntax": "
", + "bold": [ + "[style.width.px]" + ], + "description": "

Binds style property width to the result of expression mySize in pixels. Units are optional.

\n" + }, + { + "syntax": "