Commit Graph

2240 Commits

Author SHA1 Message Date
Ward Bell bc91b35bd9 docs(router): heavy copy edits (#3021) 2016-12-21 12:08:39 -08:00
Brandon 397c337378 docs(router): Added section for named outlets and secondary routes (#2842) 2016-12-20 15:26:09 -08:00
Patrice Chalin b47757a0fb docs(toh-5): wrap moduleId prose in Jade block (#3013) 2016-12-20 22:16:28 +00:00
Patrice Chalin b7bd82fa89 docs(quickstart): wrap plunker prose in Jade block (#3014) 2016-12-20 22:16:15 +00:00
Patrice Chalin 0dfd37e5a9 docs(security): hide TOC for Dart; other minor copyedits (#3017) 2016-12-20 22:14:58 +00:00
Brandon a74f8fb3b1 docs(router): Added wildcard route to live example (#2897) 2016-12-20 13:35:06 -08:00
Patrice Chalin 2717dfb62e chore(ci): adjust zone.js version for examples (#3015)
A partial followup to #3010
2016-12-20 20:17:24 +01:00
Filipe Silva 7fc08eb159 fix(ci): pin webdriver and zone versions (#3010) 2016-12-20 13:12:43 +00:00
Jesús Rodríguez 116c80a175 chore: update tsc-wrapped (#3006) 2016-12-20 13:56:35 +01:00
Paul Gschwendtner 73c844be70 chore(bios): add bio for Paul Gschwendtner 2016-12-19 22:20:00 -08:00
Naomi Black 758c8aab52 chore(hero): take down GDD announcement 2016-12-19 22:19:49 -08:00
Ward Bell c58317b885 docs(attribute-directives): remove "the the" 2016-12-19 20:22:38 -08:00
Ward Bell dee9bd1f84 docs(attribute-directives): clarify @Input and aliasing (#3007) 2016-12-19 17:12:42 -08:00
Patrice Chalin 5d89f90a3b docs(toh-5): clarify that class renaming should be local to file (#2996)
Fixes #2904
2016-12-16 22:49:56 +01:00
Patrice Chalin 5a4448335b docs(template-syntax): fix filename for code excerpt (#2995)
Main fix is to file name previously shown as `'HeroDetailComponent.ts`.
2016-12-16 22:23:20 +01:00
Patrice Chalin 36b40dedc2 docs(architecture): minor adjustments (#2994)
Minor adjustments, in particular, gets rid of custom styling in favor
of using plain markdown for pipe example. This fixes the layout for
some displays.

Followup to #2990
2016-12-16 19:32:48 +01:00
Patrice Chalin b6b3ffcebb chore: upgrade to latest angularjs (#2992) 2016-12-15 22:27:40 +01:00
Ward Bell 0d6483c5a5 docs(quickstart): faster to setup and the learning path (#2946) 2016-12-15 11:53:45 -08:00
Ward Bell b7a9a4524f docs(toh): improve `getHeroesSlowly` in ToH-4/5 (#2443) (#2991) 2016-12-15 11:13:22 -08:00
Patrice Chalin 562c629d22 docs(architecture): add Jade blocks for Dart, and other tweaks (#2990) 2016-12-15 10:17:13 -08:00
Ward Bell 5d7221c026 docs(toh-pt5): add instruc about adding `moduleId` to `AppComponent` (#2967) (#2985)
closes #2967.
2016-12-14 22:36:31 -08:00
Ward Bell 023ba1c75c docs(displaying-data): remind to import `Hero` class (#2975) (#2984) 2016-12-14 22:21:57 -08:00
Ward Bell 437617d564 chore(http): added @Injectable to default-request-options. (#2983) 2016-12-14 20:58:55 -08:00
Ward Bell 7af64a4f35 docs(http): use a class for default `RequestOptions` override (#2982)
John Papa pointed out that this makes user testing easier if you care about headers in those tests.
2016-12-14 20:35:29 -08:00
Ward Bell ad3d005a79 chore: update package.json to in-mem-web-api v.0.2.1 (#2981) 2016-12-14 20:07:52 -08:00
Kapunahele Wong 41833ed08a docs(i18n): copy edits to internationalization cookbook (#2980)
* docs(i18n): copy edits

* docs(i18n): copy edit to data.json

* docs(i18n): Ward requested copy edits
2016-12-14 15:53:09 -08:00
Ward Bell 9a3cbd611f docs(http): show how to override default `RequestOptions` like headers (#2978) 2016-12-14 13:30:25 -08:00
Patrice Chalin 05cdd9aa8a chore: delete Dart _examples (#2976) 2016-12-14 13:16:13 -08:00
Patrice Chalin 6fd0a141ef chore: drop ts/_cache (#2974)
* chore: drop dart cache and link check scripts

* chore: delete ts/_cache

* chore(README): remove mention of ts/_cache

* chore: ignore ts/_cache files
2016-12-14 10:57:10 -08:00
Patrice Chalin f0206cc957 docs(ts/_cache): misc sync (#2971)
* docs(toh-5): backport cache change to main jade file

* docs(ts/_cache): misc sync
2016-12-14 08:46:16 -08:00
Ward Bell 0bdda1d358 docs: convert AoT/JiT to approved spelling, AOT/JIT (#2969) 2016-12-13 21:17:51 -08:00
Ward Bell 0d5073e74b chore(plunker): substitute systemjs.config.extras.web.js for systemjs.config.extras.js (#2968)
Solves sudden problem with plunker not handling the non-plunker version
Also switch from `pluck` to `map` because `pluck` typing stopped working.
2016-12-13 20:57:47 -08:00
port 5ce171bd74 docs(http/toh-5): fix HeroesDetailComponent typo (#2965) 2016-12-13 10:45:25 -08:00
Patrice Chalin ea1521ed6c chore(examples): don't gitignore _examples/tsconfig.json (#2966)
Tweak to `.gitignore` so that only the `tsconfig.json` files in
subdirectories are ignored, not the one directly in this `_examples`
folder.

Also, add a package.json script definition for `http-server` for more
convenient access (w/o invoking tsc as is forced in the script
definition given in `_boilerplate/package.json`.
2016-12-13 18:36:32 +01:00
Ward Bell 9cf71d4b00 docs(http/toh-6): improve references to in-mem-web-api (#2964) 2016-12-13 02:18:07 -08:00
Ward Bell 20f47aa600 chore(testing): correct typo in karma.conf builtPaths (#2963) 2016-12-13 01:36:03 -08:00
Ward Bell 5e3807615d docs(router): fix typo originally identified by PR #2945 (#2962) 2016-12-12 22:30:59 -08:00
Shai Reznik 2b1df0487d docs(router): fix a typo (#2958) 2016-12-12 21:57:19 -08:00
Shai Reznik 38b22eee62 docs(router): fix typo (#2959) 2016-12-12 21:56:48 -08:00
Ward Bell 1f97bcbd81 chore: update example package.json to use in-mem-web-api 0.2.0 (#2961)
This update ensures examples get "cold" observables from `Http` when using in-mem-web-api
2016-12-12 21:42:18 -08:00
Filipe Silva 979a2cd690 ci: update protractor (#2957) 2016-12-12 14:33:58 +00:00
Chris Antaki 02f2818f2d docs(upgrade): fix a few typos (#2955) 2016-12-10 19:08:50 +01:00
Patrice Chalin e469929123 docs: remove public/docs/dart (#2956)
* tutorial when back ported

* api when backported

* guide when backported

* quickstart, cheatsheet and glossary when backported

* remove Jekyll front matter from each back ported file

* backport Dart _util-fns.jade

* remove docs/dart

* gitignore docs/dart

* only include Dart in language menu if it exists

* README: remove mention of Dart
2016-12-09 20:05:58 +00:00
Victor Berchet cf97326344 fix(router): fix Resolve docs and Resolve.resolve signature (#2954) 2016-12-09 05:56:14 -08:00
Patrice Chalin 50f5a80db1 docs(lifecycle-hooks): Dart sync with TS updates (#2952)
* initial cache sync

Also updating glossary since that was missed earlier.

* minor updates to Dart and TS jade

* final cache sync

* feedback from Ward
2016-12-08 16:48:02 -08:00
Patrice Chalin 0f64eb8535 docs: fix misc broken links for Dart (#2953) 2016-12-08 13:39:19 -08:00
Filipe Silva 1a5f4f4907 chore: update to 2.3.0 (#2942)
* chore: update to 2.3.0

* add 2.3.0 versions in package.json

* update _data.json

* update angular-in-memory-web-api
2016-12-08 00:10:39 +00:00
Patrice Chalin 9aececb65c docs: fix broken links (#2950) 2016-12-07 14:43:43 -08:00
Patrice Chalin a4ecdd2be1 chore: pin TS version to 2.0 (#2949)
Fixes #2948
2016-12-07 14:26:25 -08:00
Patrice Chalin cd7b4d5188 docs(toh-5/dart): fix dashboard_component regions (#2947)
Fixes https://github.com/dart-lang/site-webdev/issues/203
2016-12-07 13:05:34 -08:00
Patrice Chalin cfaeea0622 docs(pipes/dart): improve FetchJsonPipe discussion (#2937)
Followup to #2923

```
Suites passed:
  public/docs/_examples/pipes/dart
```
2016-12-06 21:27:11 -08:00
Ward Bell af0ffa6f19 docs(ts->js): example tweaks for more consistent reading of JS (#2938) 2016-12-06 19:43:50 -08:00
Ward Bell cd80df8dc7 docs(testing): make the StubHeroDetailService a spy-stub (#2935) 2016-12-06 18:16:32 -08:00
Patrice Chalin 499d4b3c88 docs(toh-6/dart): getHero makes HTTP get-by-id (#2936)
Dart follow-up to #2906
2016-12-06 15:28:34 -08:00
Patrice Chalin bc416b8e0f chore: Dart image compressed (#2933) 2016-12-06 10:01:05 -08:00
Ward Bell 695df67929 docs(testing): simplify and accelerate path to Angular component testing (#2879)
Rob Wormald recognized that we had no plunker for a simple component test. Inspired improved learning path for testing including:
* Add plunkers for both inline and external template versions of  the simplest `BannerComponent`
* Added the banner-specs for that purpose and also a quickstart-specs in the setup folder
* Adjusted prose in testing and setup-systemjs-anatomy to call these out
* Moved testing of external template spec earlier in the guide because it is likely to be needed right away.
* Add comments on the optional "testing" folder and corrects var names to match
* Leaves Jasmine Spec Runner output visible when tests finish
2016-12-05 11:46:53 -08:00
Kevin Drouvin caec707ffa docs(style-guide): fix typo (#2927)
Fix a typo on the T-DRY section.
2016-12-05 10:59:39 -08:00
Yang Lin 339494c5ea Render * instead of list bullet (#2929) 2016-12-05 10:57:47 -08:00
Ward Bell b4e6fdd4e3 Revert "build(deps): update RxJs to 5.0.0-rc.4 (#2905)"
This reverts commit 533f1b5317.
2016-12-02 17:59:45 -08:00
Filipe Silva 533f1b5317 build(deps): update RxJs to 5.0.0-rc.4 (#2905) 2016-12-02 17:50:08 -08:00
Jesús Rodríguez 9fd3fa037d docs(i18n): add new features (#2740) 2016-12-02 17:25:31 -08:00
Kapunahele Wong 4a536732bc docs(renderer): remove renderer (#2925) 2016-12-02 16:54:27 -08:00
Ward Bell 93c78dae10 docs(pipes): improve FetchJsonPipe discussion (#2923) 2016-12-02 14:22:41 -08:00
Patrice Chalin 977492a290 docs(comp-styles): adjust TOC level (#2922) 2016-12-02 19:58:39 +01:00
Patrice Chalin dd1811fea5 docs(dart): hide style-guide and browser-support (#2921)
* docs(dart): hide style-guide

* docs(dart): hide browser-support
2016-12-02 16:55:58 +01:00
Kathy Walrath cd235ac340 docs(dart/setup): make Dart setup more Darty 2016-12-01 12:48:06 -08:00
Patrice Chalin 4a0c3d79b7 docs(api/cheatsheet): show ng version + lang in page header (#2918) 2016-12-01 19:47:58 +00:00
Patrice Chalin c7717b4850 docs(toh): fix code-example format and Dart code excerpt (#2907)
* ensure HeroesComponent renaming doesn't show router

* use code-example format consistent with the rest of the docs
2016-12-01 08:15:04 -08:00
Patrice Chalin 4fe2410e01 [Dart] docs(guide/index): exclude cookbooks from table 2016-12-01 08:13:55 -08:00
Patrice Chalin ab988b4e22 Dart upgrade to 2.2.0
```
Suites passed:
  public/docs/_examples/architecture/dart
  public/docs/_examples/attribute-directives/dart
  public/docs/_examples/dependency-injection/dart
  public/docs/_examples/displaying-data/dart
  public/docs/_examples/forms/dart
  public/docs/_examples/lifecycle-hooks/dart
  public/docs/_examples/pipes/dart
  public/docs/_examples/quickstart/dart
  public/docs/_examples/server-communication/dart
  public/docs/_examples/template-syntax/dart
  public/docs/_examples/toh-1/dart
  public/docs/_examples/toh-2/dart
  public/docs/_examples/toh-3/dart
  public/docs/_examples/toh-4/dart
  public/docs/_examples/toh-5/dart
  public/docs/_examples/toh-6/dart
  public/docs/_examples/user-input/dart
All tests passed

Elapsed time: 1355.134 seconds
```
2016-12-01 08:12:43 -08:00
Sergey Kryvets 18981f9e81 docs(webpack): fix for tsconfig.json provided in example (#2892)
* docs(webpack): fix for tsconfig.json provided in example

* docs(webpack): fix for tsconfig.json provided in example

* docs(webpack): fix for tsconfig.json provided in example
2016-12-01 12:28:49 +01:00
Ward Bell 1be698ca7f chore(testing): karma config files support multiple builtPaths (#2917)
* karma.config + karma-test-shim can handle multiple spec source paths;
  see quickstart issue: https://github.com/angular/quickstart/issues/294
* cosmetic `karma.config.js` changes
2016-11-30 15:26:27 -08:00
Patrice Chalin d9c1054ae6 docs(quickstart): tweak for Dart - don't suggest editing example
Until we have dartpad working, don't suggest editing the example.
2016-11-30 13:23:29 -08:00
Torgeir Helgevold 5b294e3c5b docs(cb-aot): add missing module.id to sample (#2908) 2016-11-29 23:52:20 -08:00
Ward Bell 1d5e7c30be docs(toh-6): getHero makes HTTP get-by-id request (#2906) 2016-11-29 15:41:15 -08:00
Ward Bell efcb906981 chore(cb-component-communication): tweak code/update TS version (#2900)
Simplify name-child component.
Update TS version in package.json and the web systemjs.configs
Inspired by issue #2881
2016-11-29 15:39:53 -08:00
Patrice Chalin 56e6513659 docs(dart): upgrade to 2.1.1 (#2893)
* update docs home banner

* update example and main repo pubspec.yaml files

* update shredder tests

(Not strictly necessary, but avoids tripping regex triggers when doing
updates.)
2016-11-29 09:36:19 -08:00
Patrice Chalin 6d1c468bac examples(toh-6/dart): support case where `_initialHeroes` is empty
Fixes https://github.com/angular-examples/toh-6/issues/2
2016-11-29 09:29:27 -08:00
Patrice Chalin 7dac7f8f6f docs(Dart): misc minor updates of a few cached .jade files 2016-11-29 09:28:06 -08:00
Ward Bell 350dadb63e docs(toh-6): fix hero.service per issue #2883 (#2899) 2016-11-29 00:14:52 -08:00
Ward Bell 79dc1f2dc8 chore: use common instructions for popping out plunker window-button (#2886)
To see the browser title or address bar changes.
Instructions are a little more complicated when the plunker is in embedded style
2016-11-28 21:23:28 -08:00
Ward Bell cff978aee6 chore(plunker): open in embedded-style by default (#2884)
Added "flat-style" attribute option if you prefer to force a plunker into the original, flat editor style
2016-11-28 21:23:01 -08:00
Rodrigo Quesada fd9a331127 Corrected RouterOutlet description (#2856)
<router-outlet> does not wrap the views, the views are inserted next to it, not within.
2016-11-28 13:37:06 -08:00
Yang Lin 87d65aeda0 Update ts-to-js.jade (#2888) 2016-11-28 13:36:03 -08:00
Kapunahele Wong d89a5ab9be docs(quickstart): copy edits (#2889) 2016-11-28 13:31:06 -08:00
Dustin Goodman 9ba0f34826 Add missing ` from styleguide rule (#2878) 2016-11-27 23:11:47 -08:00
ashishg-qburst 424645e1df docs: fix broken link on testing guide (#2887) 2016-11-27 23:09:58 -08:00
Ofer Zelig 0203a49bcf Typo (#2880)
docs(appmodule): "bootstrap's" typo
2016-11-27 13:50:41 -08:00
Ward Bell e0e2e40217 chore: add default title and embedded-style options to <live-example> (#2882)
Adds default title (tooltip) of the example text unless overiden with "title" attribute
The "embedded-style" attribute causes link to open in new tab in the embedded style.
Use for samples that have a confusingly large number of files.
The "embedded" attribute option remains and displays _inline_ in the _same_ tab.
2016-11-27 13:48:20 -08:00
Patrice Chalin a4f0a32c3a examples(styles): remove duplicate items classes (#2877)
Supersedes #2872 but ensures that we don’t loose `.items li.selected`.
2016-11-26 17:18:22 +00:00
Patrice Chalin 891846f232 chore(gulp): selectively shred guide examples using --filter (#2876)
E.g., `gulp _shred-devguide-examples --filter=dep`

Also removed docs/README.md since it was reporting something that is no
longer true (we don’t commit `_fragments` anymore).
2016-11-26 14:03:01 +00:00
Patrice Chalin 0902940eeb docs(dependency-injection): updates to match TS; also minor TS fixes (#2875)
* cache file sync before making updates to Dart jade

* app.module.ts: fix ngmodule docregion

* [TS] dependency-injection.jade updates

* [Dart] dependency-injection.jade updates

* final ts/_cache file sync
2016-11-26 12:20:54 +00:00
gc cfce91142c docs(style-guide): fix file structure (#2873) 2016-11-25 21:51:51 +01:00
Patrice Chalin fb97653721 docs(toh-5/6): update Dart to match TS, with minor tweaks to TS (#2869)
* sync cache before making changes to Dart files

* docs(toh-5): updates for Dart and tweaks for TS

* final sync of toh cache files
2016-11-23 23:42:49 +00:00
Patrice Chalin f2c815f6d0 docs(glossary): update Dart to match TS, with minor tweaks to TS (#2868)
* sync cache before changes to Dart

* docs(glossary): Dart updates and TS tweaks

E.g., add AoT and JiT to Dart.

* final refresh of cache file
2016-11-23 23:20:53 +00:00
Patrice Chalin 692d751375 docs: quickstart reboot for Dart (#2867)
* cache/quickstart sync before making Dart edits

* quickstart updates for Dart

* cache/guide/index sync before making Dart edits

* guide/index updates for Dart

* learning-angular for Dart

* guide/setup for Dart

* refresh cache/tutorial/index
2016-11-23 17:58:21 +00:00
Jesús Rodríguez 7a651ed873 docs(setup): fix typo (#2864) 2016-11-23 13:37:09 +01:00
Naomi Black 57413af54c quickstart(copyedits): copyedits to the QS text for style 2016-11-22 17:44:34 -08:00
Naomi Black a1bc22b595 events(nov): updates to the events and hero bar 2016-11-22 15:12:17 -08:00
Naomi Black 9c298a5273 Merge pull request #2854 from IdeaBlade/quickstart-reboot-2
docs(quickstart) reboot 2
2016-11-22 15:09:12 -08:00