718 Commits

Author SHA1 Message Date
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
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
20f47aa600 chore(testing): correct typo in karma.conf builtPaths (#2963) 2016-12-13 01:36:03 -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
Victor Berchet
cf97326344 fix(router): fix Resolve docs and Resolve.resolve signature (#2954) 2016-12-09 05:56:14 -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
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
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
Ward Bell
b4e6fdd4e3 Revert "build(deps): update RxJs to 5.0.0-rc.4 (#2905)"
This reverts commit 533f1b53174ed4832319385206117546a701784d.
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
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
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
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
Ward Bell
350dadb63e docs(toh-6): fix hero.service per issue #2883 (#2899) 2016-11-29 00:14:52 -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
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
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
Naomi Black
9c298a5273 Merge pull request #2854 from IdeaBlade/quickstart-reboot-2
docs(quickstart) reboot 2
2016-11-22 15:09:12 -08:00
Ward Bell
434308ab1b docs(forms): revise prose for form.reset (#2853) 2016-11-21 18:23:28 -08:00
Ward Bell
ec2e6cb2c7 [WIP] docs(quickstart): QuickStart reboot (#2762) 2016-11-21 17:36:16 -08:00
Ward Bell
a7525721c0 Revert "[WIP] docs(quickstart): QuickStart reboot (#2762)"
This reverts commit 8ccc33e6ffacd7a0acdfc49aab2e6fdecf627fa9.
2016-11-21 17:29:00 -08:00
Ward Bell
8ccc33e6ff [WIP] docs(quickstart): QuickStart reboot (#2762) 2016-11-21 17:13:21 -08:00
Wenchen Li
bcab06403c Fix #2066 (#2800) 2016-11-21 12:59:00 -08:00
Kapunahele Wong
694b58d06e [WIP] docs(user-input): Jessica's user input edits (#2683) 2016-11-21 12:17:39 -08:00
Patrice Chalin
ad3fbada10 examples(toh-5, toh-6): fix Dart e2e (#2846) 2016-11-21 13:58:59 +01:00
Jesús Rodríguez
1303706542 chore: use tsconfig lib (#2840) 2016-11-20 17:28:37 -08:00
Rex
fea03ea097 Replace next() with emit() for EventEmitter<T> (#2812) 2016-11-18 22:29:57 -08:00
Filipe Silva
199d2096d6 chore: add new 2.2.0 entry points (#2810) 2016-11-18 22:28:24 -08:00
Ward Bell
b3c65a9a93 docs(systemjs.web): auto-bootstrap option that creates its own AppModule and boots it. (#2833)
For specific plunkers, e.g. "QuickStart (reboot edition)" PR #2762, that shouldn't have AppModule or main.ts
Rescinds the automatic bootstrapping and exclusion of `main.ts` in #2786 and #2756
Only autoBootstraps when `window.autoBootstrap === true`.
2016-11-18 20:29:05 -08:00
Ward Bell
ed3101a5e0 docs(systemjs.web): can create a default for missing AppModule.ts 2016-11-18 11:31:32 -08:00
Patrice Chalin
7c8938a424 example(pipes): Dart e2e fix (#2825)
Match TS example and only bootstrap AppComponent.
2016-11-18 15:53:41 +00:00
Patrice Chalin
f993315931 chore(dart): complete the renaming of "Angular 2" to "Angular" (#2820)
Contributes to #2407

- Dropped the “2” in “Angular 2” and “angular2_*” where appropriate.
- Did a partial sync of `_cache/guide/pipes.jade`
- In quickstart, changed `Try changing the message to "Hello Angular
2!”` to `Try changing the message to "Hello Again Angular!”`.
2016-11-17 14:10:28 -08:00
Patrice Chalin
d853a29fe0 examples(dart): demote some packages to dev_dependencies (#2818)
Fixes #2777
2016-11-17 13:47:51 -08:00
Patrice Chalin
64bce18ea7 e2e(dependency-injection): fix for Dart and simplification for TS
Fixes #2493

No need to dual boot `AppComponent` and `ProvidersComponent` only to
ensure that we could demo optional injection; instead just inject null
for the `@Optional` constructor parameter type.

No prose is affected by these changes.
2016-11-15 22:58:56 +00:00
Patrice Chalin
f70ba97471 example(architecture/dart): drop currency pipe workaround (#2804)
Fixes #1898
2016-11-15 08:39:03 -08:00