angular-docs-cn/public/docs/dart/latest/guide/displaying-data.jade
Patrice Chalin 801ac76da0 docs(guide/displaying-data): proofread (#1819)
* docs(displaying-data/dart): proofread

- Dart prose simplified by removing discussion of "additions to
pubspec.yaml" which are no longer necessary given the current state of
QuickStart.
- E2e suites passed:
  public/docs/_examples/displaying-data/dart
  public/docs/_examples/displaying-data/ts

Contributes to #1598 and #1508.

* docs(displaying-data/ts): proofread

- TS prose updated to include @kwalrath's revisions from a while ago,
with some of my edits as well.
- E2e suites passed:
  public/docs/_examples/displaying-data/dart
  public/docs/_examples/displaying-data/ts

* docs(displaying-data/ts): post-review edits
2016-07-07 14:00:19 -07:00

25 lines
869 B
Plaintext

extends ../../../ts/latest/guide/displaying-data.jade
block includes
include ../_util-fns
- var _iterableUrl = 'https://api.dartlang.org/stable/dart-core/Iterable-class.html';
- var _boolean = 'boolean';
block quickstart-repo
//- Must have this block so that Jade picks up the Dart include.
include ../_quickstart_repo
block hero-class
:marked
We've defined a class with a constructor, two properties (`id` and `name`),
and a `toString()` method.
block final-code
+makeTabs(`displaying-data/dart/lib/app_component.dart,
displaying-data/dart/lib/hero.dart,
displaying-data/dart/pubspec.yaml,
displaying-data/dart/web/index.html,
displaying-data/dart/web/main.dart`,
',,,,final',
'lib/app_component.dart, lib/hero.dart, pubspec.yaml, web/index.html, web/main.dart')