angular-cn/public/docs/_examples/toh-5/dart
Patrice Chalin f8e6b5d1f7 docs(toh-5/dart): make dashboard more robust (#1688)
Originally the dashboard TS expression ``heroes.slice(1, 5))` had been
written as:

> _heroService.getHeroes().getRange(1, 5)

which is brittle; it fails if there are not enough heroes. Slice
doesn't fail; an equivalent express
ion in Dart is

> _heroService.getHeroes().skip(1).take(4)

This is now used.

Other changes:
- Fix in css (missed TS-side update).
- Ran `dartfmt` on `heroes_component.dart`.
2016-06-28 13:15:29 -07:00
..
lib docs(toh-5/dart): make dashboard more robust (#1688) 2016-06-28 13:15:29 -07:00
web docs(toh-5/dart): review edits and code cleanup (#1643) 2016-06-15 07:46:26 -07:00
.docsync.json chore(dart): add/cleanup example hosting config files (#1605) 2016-06-08 08:02:57 -07:00
example-config.json test(e2e/dart): add support for Dart e2e testing 2016-05-17 10:31:49 -07:00
pubspec.yaml chore(dart pubspec.yaml): consistent baseline (#1647) 2016-06-15 14:59:57 -07:00