Logo
Explore Help
Sign In
honeymoose/angular-cn
1
0
Fork 0
You've already forked angular-cn
Code Issues Pull Requests Packages Projects Releases Wiki Activity
angular-cn/public/docs/_examples/toh-5/dart/lib/hero.dart

7 lines
75 B
Dart
Raw Normal View History

docs(toh/dart): add toh-5 sample files and link to them closes #971
2016-03-16 14:39:06 -04:00
class Hero {
final int id;
String name;
Hero(this.id, this.name);
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
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.1 Page: 41ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API