diff --git a/public/docs/dart/latest/guide/cheatsheet.json b/public/docs/dart/latest/guide/cheatsheet.json index a18289d76c..e70ffd1648 100644 --- a/public/docs/dart/latest/guide/cheatsheet.json +++ b/public/docs/dart/latest/guide/cheatsheet.json @@ -1,487 +1,506 @@ -[ - { - "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" - } +{ + "currentEnvironment": "Dart", + "version": { + "raw": "2.0.0-beta.0", + "major": 2, + "minor": 0, + "patch": 0, + "prerelease": [ + "local" ], - "index": 0 + "build": "sha.323393a", + "version": "2.0.0-local", + "codeName": "snapshot", + "isSnapshot": true, + "full": "2.0.0-local+sha.323393a", + "branch": "master", + "commitSHA": "323393a86201db871c2fbc6dc7bd12229b498d9a" }, - { - "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": "