Commit Graph

44 Commits

Author SHA1 Message Date
Ward Bell 8fafa8a01e docs(plunkers): prepare plunkers for the quickstart reboot (#2759)
* plunker builder removes files and scripts not needed in plunkers (e.g., systemjs.config.js)
* no longer adds placeholder README.md (deemed a distraction)
* tag is now "Angular" instead of "Angular2"
* new plnkr.json "includeSystemConfig" option adds systemjs.config.js back; needed for testing plnkrs.
* incidentally changes comment "Polyfill(s)" to "Polyfills" in all index.html
2016-11-05 12:53:47 -07:00
Ward Bell fa99a8b0b2 docs(toh-5): dashboard uses [routerLink] bindings #998 (#2718)
* docs(toh-5): dashboard uses [routerLink] bindings #998
closes #998

* chore: temp add toh-5 to bad-code-excerpt-skip-patterns.txt
2016-11-03 10:25:01 -07:00
Jesús Rodríguez e503efe8c8 docs(toh5): add moduleId information (#2597) 2016-10-13 16:41:57 -07:00
Ward Bell 2e17d587de docs(toh-5): add AppRoutingModule (#2584) 2016-10-11 16:30:30 -07:00
Tim Xiao d9416a8ae9 docs: fixed path typo in tutorial(Routing, HTTP) (#2526)
* Fixed typo in tutorial(Routing)

The path to `app.component.css` should start from current directory, not 'app/', since the file is already in 'app/'

* docs: fixed path error in the tutorial (HTTP)

same problem fixed as commit 917e0ce1c2829224e3ee53a069599fccbc5751a3

* docs: Added moduleId for styleUrls referencing in these two classes
2016-10-05 16:14:44 -07:00
Brandon ff118810ff docs(router): Updated routing examples to use routing modules (#2478)
Simplified routing in tutorial example

Updated ngmodule guide and ngmodule faq with routing module prose
2016-10-05 14:59:09 -07:00
Brandon 556e40695a docs(toh): Replaced window.history with location service (#2439) 2016-09-25 18:56:12 -07:00
Ward Bell 6def9505cc chore: convert templateUrls to use moduleId where possible. (#2477) 2016-09-25 18:51:54 -07:00
Jesús Rodríguez 693f6ae462 chore: rename Angular 2 to simply Angular (#2402) 2016-09-19 20:24:40 -07:00
Patrice Chalin 2bd9946bda example(toh-4,5): getHeroesSlowly() to return getHeroes() (#2152)
* example(dart/toh-4,5): getHeroesSlowly() to return getHeroes()

Have `getHeroesSlowly()` delay and then return the value of
`getHeroes()`. This makes it easier for user’s performing the tutorial
to keep this slower method as they evolve toh-5 into toh-6.

* example(ts/toh-4,5): getHeroesSlowly() to return getHeroes()

Have `getHeroesSlowly()` delay and then return the value of
`getHeroes()`. This makes it easier for user’s performing the tutorial
to keep this slower method as they evolve toh-5 into toh-6.
2016-08-26 14:39:57 -07:00
Brandon Roberts 5c5c9ca16c fix(toh-5): Fixed issues in tutorial flow
The HeroDetailComponent should be in the module declarations from the beginning.
InMemoryWebApiModule.forRoot(InMemoryDataService) and correct text
2016-08-19 03:43:00 -07:00
Brandon Roberts a35fcb4dfd chore(router): Added ModuleWithProviders to routing exports
closes #2113
2016-08-18 23:57:54 -07:00
Jesús Rodríguez e9a41bac47 docs(toh): add return types
closes #1983
2016-08-17 22:41:06 -07:00
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
Peter Bacon Darwin d79adb2422 docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
Jesús Rodríguez efbf259318 chore: fix linting 2016-07-29 13:27:06 +02:00
Brandon Roberts 5104470558 docs(router): Removed refs to deprecated router; lowerCamelCase constants
closes #1834
2016-07-11 21:44:12 -07:00
Ward Bell dba3a8f9c9 docs: replace xxx.filter(...)[0] with xxx.find(...)
see #1801
2016-07-02 16:13:32 -07:00
Foxandxss 1900eb1c70 docs: replace terminal with pathMatch, base href with '/'
closes #1799
2016-07-01 16:32:39 -07:00
Karan Gandhi 461213996e docs(toh-5/ts): Minor error fixed.
There are no leading slashes in the path.
2016-06-30 11:49:52 -07:00
Brandon Roberts f3189546a6 docs(toh-5): Upgraded tutorial to new router 2016-06-28 12:52:47 -07:00
Patrice Chalin fd46bf4970 docs(toh-5/ts): minor edits
closes #1644
2016-06-13 10:45:23 -07:00
Foxandxss 074a33a622 chore: tslint sweep done 2016-06-13 02:40:28 +02:00
Foxandxss f3205f5beb chore: first sweep on linting the codebase
closes #1616
2016-06-07 16:45:13 -07:00
Christopher Thorne 3d868da4b7 docs(toh-pt5): change getHero to match toh-pt6 getHero
closes #1551
2016-05-31 22:31:04 -07:00
Ward Bell ba02c40b56 docs: switch from es6-shim to core-js shim 2016-05-19 16:37:54 -07:00
Ward Bell a4bc455030 docs(toh): remove unneeded directive from heroes.component 2016-05-19 00:57:35 -07:00
Ward Bell e91659ac13 docs(tutorial/ts): delete tutorial sample in favor of toh-6 2016-05-19 00:30:30 -07:00
Torgeir Helgevold e4db340464 docs:(TOH chapter on Http) New Tour of Hero Chapter on Http 2016-05-18 23:38:08 -07:00
Ward Bell e99e9185ba docs(index.html) remove extra space in `System.import`line. 2016-05-11 18:42:31 -07:00
Foxandxss 596825a8b1 docs: update all docs to partially comply the style-guide 2016-05-03 12:42:44 -06:00
Ward Bell 3d5302adce chore: update to rc.0 2016-05-02 19:57:28 -07:00
Filipe Silva 216120daba chore: update to beta.17
closes #1213, 1205
2016-04-28 18:31:00 -07:00
Foxandxss e039c6f718 docs(toh): remove @Input decorator in part 5 2016-04-20 13:15:14 -07:00
Foxandxss 5f73911eaf chore(toh): change inputs array for input decorator/hero now a class 2016-03-25 16:51:46 -07:00
Foxandxss b2f2fb87ec docs(toh): make a few corrections
closes #967
2016-03-17 21:09:54 -07:00
Foxandxss 2c9decceea docs(toh5): normalize indentation
closes #937
2016-03-08 16:56:38 -08:00
Foxandxss 3692d05c34 docs(toh5): fix indentation on a method
closes #921
2016-03-08 15:15:44 -08:00
Foxandxss af1eaae873 docs(toh5): add better explanations for templateUrl
closes #929
2016-03-08 15:07:00 -08:00
Ward Bell ad7f172ea5 docs: share 'styles.css' across all samples all langs; fix styles 2016-02-28 12:47:01 -08:00
Ward Bell 524ff05373 chore: add shims_for_IE.js to all index.html 2016-02-25 14:04:37 -08:00
Ward Bell 44ec77c34a docs:remove many generated js files and prevent with .gitignore 2016-02-25 13:46:25 -08:00
John Papa 1365d82527 docs(tutorial): add part 5-routing 2016-02-08 11:01:29 -08:00
Ward Bell 7c4fabcfac docs(tutorial): add missing example-config.json files
closes #644
2016-01-04 11:39:44 -08:00