Commit Graph

2594 Commits

Author SHA1 Message Date
Rex 33a279fc3b Merge pull request #183 from todoubaba/issue-181
Fixes issue 181
2016-12-21 10:21:30 +00:00
Yang Lin 8bf5bb3616 Fixes issue 181 2016-12-21 17:32:13 +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
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
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
Yang Lin 2f5a096dea Polish server-communication.jade 2016-12-10 19:16:57 +08: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
Rex 28a51f44ec Merge pull request #176 from todoubaba/hierarchical-dependency-injection
Polish hierarchical-dependency-injection.jade
2016-12-08 10:25:52 +00: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
Yang Lin afdfe0b837 Polish hierarchical-dependency-injection.jade 2016-12-07 17:33:27 +08:00
Hongbo Miao 361361f195 fix link 2016-12-07 15:07:25 +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
Rex b841c0f20b Merge pull request #174 from todoubaba/issue-127
Fixes issue 127
2016-12-06 07:50:17 +00:00
Yang Lin 416959ead6 Fixes issue 127 2016-12-06 12:01:38 +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
Rex 5f3bc5361d Merge pull request #173 from todoubaba/component-styles
Polish component-styles.jade
2016-12-05 15:00:27 +00:00
Yang Lin 1d68cdd99d Polish component-styles.jade 2016-12-05 22:14:11 +08:00
Rex f04074864b Merge pull request #172 from todoubaba/browser-support
Polish browser-support.jade
2016-12-05 13:06:50 +00:00
Yang Lin af55e38d11 Polish browser-support.jade 2016-12-05 20:12:49 +08:00
Yang Lin ebea8c59c3 Polish attribute-directive.jade 2016-12-05 15:28:34 +08:00
Rex 26e846826b Merge pull request #169 from todoubaba/ngmodule
Polish ngmodule.jade
2016-12-03 15:32:16 +00:00
Yang Lin 4bd612d0d8 Polish ngmodule.jade 2016-12-03 23:01:22 +08:00
Zhicheng Wang 03e68ce03f 文字微调 2016-12-03 19:15:44 +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
Rex 9161d9c57e Merge pull request #167 from todoubaba/toh-pt6
Polish toh-pt6.jade (round 2)
2016-12-02 14:22:25 +00:00
Rex 4a7374b476 Merge pull request #166 from todoubaba/toh-pt5
Polish toh-pt5.jade (round 2)
2016-12-02 14:22:19 +00:00
Yang Lin 19946aa2d2 Polish latest/index.jade 2016-12-02 19:51:34 +08:00
Yang Lin 4e49ba9cd0 Polish toh-pt6.jade (round 2) 2016-12-02 10:56:05 +08:00
Yang Lin c61f5e7097 Polish toh-pt5.jade (round 2) 2016-12-02 10:28:26 +08:00
Rex e56cca9c79 Merge pull request #165 from todoubaba/toh-pt4
Polish toh-pt4.jade (round 2)
2016-12-01 21:17:10 +00: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
Yang Lin 17ddd8817e Polish toh-pt4.jade (round 2) 2016-12-02 02:15:34 +08:00
Rex f6febe222b Merge pull request #164 from todoubaba/toh-pt3
Polish top-pt3.jade (round 2)
2016-12-01 17:35:55 +00:00
Yang Lin 445890b107 Polish top-pt3.jade (round 2) 2016-12-02 01:20:13 +08: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
Rex 8e2bac0086 Merge pull request #163 from todoubaba/toh-pt2
Polish toh-pt2.jade (round 2)
2016-12-01 16:05:49 +00:00
Yang Lin febe110eb0 Polish toh-pt2.jade (round 2) 2016-12-01 21:54:35 +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
Rex fdd5836d60 Merge pull request #162 from todoubaba/toh-pt1
Polish toh-pt1.jade (round 2)
2016-12-01 08:08:43 +00:00
Rex 9fe7173846 Merge pull request #161 from todoubaba/toh-index
Polish tutorial/index.jade (round 2)
2016-12-01 08:08:03 +00:00
Yang Lin 44a2377b65 Polish toh-pt1.jade (round 2) 2016-12-01 15:08:04 +08:00
Yang Lin 65ed634c21 Polish tutorial/index.jade (round 2) 2016-12-01 11:49:52 +08:00
Yang Lin 625ce82a6c Fix all _data.json 2016-12-01 10:54:43 +08: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
Rex 2040b6ecd2 Merge pull request #158 from todoubaba/user-input
Polish user-input.jade (round 2)
2016-11-30 17:25:28 +00:00
Rex f02b66490a Merge pull request #159 from todoubaba/forms
Polish forms.jade (round 2)
2016-11-30 17:25:15 +00:00
Rex 18b8e32493 Merge pull request #157 from todoubaba/displaying-data
Polish displaying-data.jade (round 2)
2016-11-30 17:24:41 +00:00
Yang Lin 81d9b4fa12 Polish forms.jade (round 2) 2016-12-01 01:09:14 +08:00
Yang Lin 1874c5147c Polish user-input.jade (round 2) 2016-12-01 00:48:23 +08:00
Yang Lin bf3a432d03 Polish displaying-data.jade (round 2) 2016-11-30 23:38:39 +08:00
Rex f164b9cf0e Merge pull request #156 from todoubaba/appmodule
Polish appmodule.jade (round 2)
2016-11-30 14:34:26 +00:00
Yang Lin 8382497c64 Polish appmodule.jade (round 2) 2016-11-30 20:29:32 +08:00
Rex 0b349706a4 Merge pull request #154 from todoubaba/architecture
Polish architecture.jade (round 2)
2016-11-30 11:28:37 +00:00
Yang Lin 05062c375d Polish architecture.jade (round 2) 2016-11-30 19:12:57 +08:00
Rex 4e614daa93 Merge pull request #150 from todoubaba/glossary
Polish glossary.jade
2016-11-30 10:02:09 +00:00
Rex 508e255930 Merge pull request #151 from todoubaba/guild-index
Polish guild/index.jade (round 2)
2016-11-30 08:03:48 +00:00
Rex d1ba60b78d Merge pull request #152 from todoubaba/setup
Polish setup.jade (round 2)
2016-11-30 08:02:38 +00:00
Torgeir Helgevold 5b294e3c5b docs(cb-aot): add missing module.id to sample (#2908) 2016-11-29 23:52:20 -08:00
Yang Lin 510b9051ed Polish learning-angular.jade (round 2) 2016-11-30 12:01:31 +08:00
Yang Lin 69a1dbb993 Polish setup.jade (round 2) 2016-11-30 11:47:27 +08:00
Yang Lin ce9430b8e2 Polish guild/index.jade (round 2) 2016-11-30 11:10:53 +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
Yang Lin c57047aad1 Polish glossary.jade 2016-11-30 02:32:36 +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
Rex YE 4f1ac69d6d fix: style-guide link 2016-11-29 15:42:39 +00:00
Yang Lin 39512ebcda 使用“例如” 2016-11-29 23:36:27 +08:00
Yang Lin 3b13471cb4 Polish style-guild.jade 2 2016-11-29 21:52:54 +08:00
Yang Lin 4ca4a0a9f6 Polish style-guild.jade 2016-11-29 19:02:21 +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
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
Rex 7d96eecccd Merge pull request #148 from todoubaba/ts-to-js
[trans] ts-to-js.jade
2016-11-28 19:36:26 +00:00
Yang Lin 93c5264841 [trans] ts-to-js.jade 2016-11-29 03:17:28 +08:00
Rex YE a005f250b0 fix: #146 2016-11-28 13:52:45 +00:00
Rex YE f6f570dfc0 fix: #144 2016-11-28 13:49:28 +00:00
Rex YE 2b5da24d94 fix: #145 2016-11-28 13:47:14 +00:00
Rex YE 55c14576be review learning-angular 2016-11-28 09:39:41 +00:00
Rex YE 9e5392c663 review setup 2016-11-28 09:34:35 +00:00
Rex YE f1896230b2 review quickstart. 2016-11-28 09:19:26 +00: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
rexebin a685691348 Merge remote-tracking branch 'todoubaba/template-syntax'
# Conflicts:
#	public/docs/ts/latest/guide/template-syntax.jade
2016-11-27 20:27:16 +00:00
Rex 798d3f9216 Merge pull request #141 from dusthub/master
fix translation repeated
2016-11-27 20:14:00 +00:00
rexebin 1b38b5b200 translate: setup-systemjs-anatomy.jade. 2016-11-27 20:04:21 +00:00
rexebin b01dc2c2f0 fix: menu 2016-11-27 18:22:27 +00:00
rexebin 9a9fef17eb fix: component-communication 2016-11-27 18:20:39 +00:00
rexebin 5617821cf9 fix: aot-compiler and toh-pt6 2016-11-27 18:14:44 +00:00