Patrice Chalin d24ff43728 examples(lifecycle-hooks): update Dart sample to match TS (#2281)
Make equivalent TS code changes to Dart sample.

This sync’s Dart with all #2177 changes pertinent to Dart.

E2E tests pass now for Dart, Suites passed:
-  public/docs/_examples/lifecycle-hooks/ts
2016-09-08 08:38:25 -07:00
..
2016-08-31 18:08:57 -07:00
2016-03-08 10:46:03 -08:00
2016-03-08 10:46:03 -08:00

Why the _fragments dir is checked in

Within this repo files generated as a result of shredding the _examples dir ( the contents of the _fragments dir) are checked in so that we can avoid running the shredder over the entire _examples dir each time someone refreshes the repo ( the shred-full gulp task). The gulp serve-and-watch shredder is only a partial shredder. It only shreds files in directories changed during the current session.