angular-cn/public/docs/_examples
Patrice Chalin 0c0c6f69f3 docs(toh-5): TS/Dart review, and Dart resync (#2115)
* docs(toh-5): review and update/resync Dart

**NOTE: run `gulp add-example-boilerplate` after pulling in the
commit.**

This is preparatory work for #2035.
As part of the the chapter review, the Dart .jade was enhanced to use
Jade extends (#2018).
By the same token it contributed to a post-RC5 resync (#2077). Other
key changes:

Dart and TS code:
- Eliminated `styles.1.css` in favor of docregions in `styles.css`.
- `docregion` tags renamed in a few places.
- **No other code changes**.

TS prose
- Fixed: misnamed variable `routing` -> `appRoutes`.
- All other changes are **minor copy edits**, or changes to support
Dart via Jade extends.

Diff of generated HTML for TS chapter was inspected to ensure only
minor copy edits prevailed (i.e., that the support for Jade extends had
no impact on the generated HTML).

* docs(toh-5): edits after doing tutorial

- Some adjustments following actually doing the tutorial. In some cases code shown (e.g. this is what file foo should look like now) didn't match what the user would have. E.g., lingering @Input on the hero property.
- Fixed some lingering deprecated-router prose elements on TS side (e.g., still referring to a route by the old string names like `HeroDetail`).
- Added extra step to `app.component.ts` creation rather than having a critical-call-out later on.
- Reorder some prose for better harmony between TS and Dart prose (also improves the flow).
- Moved the `styleUrls` call-out to the point of first use.

* post-review changes

* more post-review changes

* toh-6 cache update
2016-08-17 13:31:40 -07:00
..
_protractor chore: update to rc3 2016-06-22 01:51:57 +01:00
animations docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
architecture docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
attribute-directives docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
cb-a1-a2-quick-reference docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
cb-component-communication docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
cb-component-relative-paths docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
cb-dependency-injection docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
cb-dynamic-form docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
cb-dynamic-form-deprecated docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
cb-set-document-title docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
cb-ts-to-js docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
cb-visual-studio-2015/ts docs(cb-vs2015) new cookbook for Visual Studio 2015 QuickStart 2016-06-13 23:55:14 -07:00
cli-quickstart docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
component-styles docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
dependency-injection docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
displaying-data docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
forms docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
forms-deprecated docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
hierarchical-dependency-injection docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
homepage-hello-world docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
homepage-tabs chore: add async/await support to e2e tests 2016-06-17 10:43:16 -07:00
homepage-todo docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
lifecycle-hooks docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
ngmodule docs(ngmodule): remove module.id 2016-08-09 16:27:01 -07:00
pipes chore(pipes): disable broken e2e tests (#2068) 2016-08-10 08:00:04 -07:00
quickstart docs(quickstart): post-RC5 Dart resync (#2078) 2016-08-10 13:32:07 -07:00
router docs(router): Fixed lazy loading initial example 2016-08-09 20:00:08 -07:00
router-deprecated docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
security docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
server-communication docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
structural-directives docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
style-guide docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
styleguide docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
template-syntax docs(template-syntax/dart): enhancements to example code (#2051) 2016-08-11 11:47:59 -07:00
testing/ts docs(testing): refer to 'lite-server' instead of 'live-server'. 2016-07-14 14:39:59 -07:00
toh-1 tests(toh-[1-4]): e2e - support space in hero name (#2117) 2016-08-17 09:20:17 -07:00
toh-2 tests(toh-[1-4]): e2e - support space in hero name (#2117) 2016-08-17 09:20:17 -07:00
toh-3 tests(toh-[1-4]): e2e - support space in hero name (#2117) 2016-08-17 09:20:17 -07:00
toh-4 tests(toh-[1-4]): e2e - support space in hero name (#2117) 2016-08-17 09:20:17 -07:00
toh-5 docs(toh-5): TS/Dart review, and Dart resync (#2115) 2016-08-17 13:31:40 -07:00
toh-6 docs(toh-6): post-RC5 Dart resync and TS fixes (#2095) 2016-08-12 11:21:16 -07:00
upgrade-adapter docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
upgrade-phonecat-1-typescript chore: add async/await support to e2e tests 2016-06-17 10:43:16 -07:00
upgrade-phonecat-2-hybrid docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
upgrade-phonecat-3-final docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
user-input chore(e2e): fix user-input test 2016-08-09 16:51:37 -07:00
webpack chore: swap reflect on webpack to core-js 2016-08-09 12:39:28 -07:00
.editorconfig chore: replace VSCode-specific settings.json with broadly recommended .editorconfig 2016-04-05 10:15:27 -07:00
.gitignore chore(ignored/boilerplate files): cleanup 2016-06-13 11:33:12 -07:00
example-config.json chore(devguide-tooling): add enforce-example-boilerplate gulp task 2015-12-12 13:57:18 -08:00
jsconfig.json docs(tutorial): combines all 4 sections + revisions/updates to a.53, hides 3&4 2015-12-14 19:57:55 -08:00
karma-test-shim.js docs(testing): update testing setup to use systemjs.config.js 2016-05-21 14:31:22 -07:00
karma.conf.js docs(testing): update testing setup to use systemjs.config.js 2016-05-21 14:31:22 -07:00
package.json docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
plunker.README.md chore: add README.md to each plunker 2016-08-01 12:48:04 -07:00
styles.css docs(toh-5): TS/Dart review, and Dart resync (#2115) 2016-08-17 13:31:40 -07:00
systemjs.config.js docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
systemjs.config.plunker.build.js docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
systemjs.config.plunker.js docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
tsconfig.json docs(samples): package.json and typings updates 2016-05-21 14:15:48 -07:00
tslint.json docs: add DI cookbook 2016-04-05 10:15:18 -07:00
typings.json docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
wallaby.js docs(testing): update testing setup to use systemjs.config.js 2016-05-21 14:31:22 -07:00