Zhicheng WANG
b035e68480
Merge remote-tracking branch 'en/master' into aio
...
# Conflicts:
# .travis.yml
# aio/content/guide/aot-compiler.md
# aio/content/guide/architecture.md
# aio/content/guide/build.md
# aio/content/guide/dependency-injection-in-action.md
# aio/content/guide/deployment.md
# aio/content/guide/elements.md
# aio/content/guide/file-structure.md
# aio/content/guide/glossary.md
# aio/content/guide/hierarchical-dependency-injection.md
# aio/content/guide/lifecycle-hooks.md
# aio/content/guide/ngmodule-faq.md
# aio/content/guide/pipes.md
# aio/content/guide/router.md
# aio/content/guide/rx-library.md
# aio/content/guide/service-worker-communications.md
# aio/content/guide/service-worker-config.md
# aio/content/guide/singleton-services.md
# aio/content/guide/template-syntax.md
# aio/content/guide/testing.md
# aio/content/guide/typescript-configuration.md
# aio/content/guide/universal.md
# aio/content/marketing/docs.md
# aio/content/marketing/features.html
# aio/content/tutorial/toh-pt0.md
# aio/content/tutorial/toh-pt6.md
# aio/package.json
# aio/src/app/layout/footer/footer.component.html
# aio/tools/transforms/templates/api/lib/memberHelpers.html
# aio/yarn.lock
# integration/cli-hello-world-ivy-minimal/src/polyfills.ts
# modules/benchmarks/e2e_test/largetable_perf.ts
# modules/benchmarks/e2e_test/largetable_spec.ts
# packages/animations/src/animation_metadata.ts
# packages/common/http/src/headers.ts
# packages/common/http/src/interceptor.ts
# packages/common/src/directives/ng_for_of.ts
# packages/common/src/directives/ng_if.ts
# packages/common/src/directives/ng_style.ts
# packages/common/src/directives/ng_switch.ts
# packages/core/src/change_detection/change_detection_util.ts
# packages/core/src/di/injectable.ts
# packages/core/src/interface/lifecycle_hooks.ts
# packages/core/src/linker/template_ref.ts
# packages/core/src/metadata/di.ts
# packages/core/src/metadata/directives.ts
# packages/core/src/metadata/ng_module.ts
# packages/core/src/render/api.ts
# packages/forms/src/form_providers.ts
# packages/forms/src/model.ts
# packages/router/src/config.ts
# packages/router/src/directives/router_link.ts
2019-02-17 00:00:16 +08:00
Brandon
99e3a04ea2
ci(docs-infra): test docs examples with Ivy ( #28463 )
...
PR Close #28463
2019-02-11 17:16:52 +00:00
Brandon
9ec8aa5eb7
docs: re-enable E2E tests for Http guide ( #28592 )
...
PR Close #28592
2019-02-11 17:09:25 +00:00
Brandon
5f2ae784da
docs: run component-interaction and DI in JiT mode ( #28592 )
...
PR Close #28592
2019-02-11 17:09:25 +00:00
Brandon
531aa5f8db
docs: make method arguments optional in template syntax example ( #28592 )
...
PR Close #28592
2019-02-11 17:09:25 +00:00
Brandon
bfee33edb9
docs: remove unused files in styleguide example ( #28592 )
...
PR Close #28592
2019-02-11 17:09:25 +00:00
Brandon
1941d7c743
docs: ignore initial components for app compilation in router example ( #28592 )
...
PR Close #28592
2019-02-11 17:09:25 +00:00
Brandon
21b5940abd
docs: ignore files from app compilation for ngmodule-faq example ( #28592 )
...
PR Close #28592
2019-02-11 17:09:25 +00:00
Brandon
2852beaded
docs: make method arguments optional for event-binding example ( #28592 )
...
PR Close #28592
2019-02-11 17:09:25 +00:00
Brandon
206a21704d
docs: ignore component for app compilation for displaying data example ( #28592 )
...
PR Close #28592
2019-02-11 17:09:24 +00:00
Brandon
46e6363686
docs: add insert remove component to AppModule for animations example ( #28592 )
...
PR Close #28592
2019-02-11 17:09:24 +00:00
Brandon
457e07ccb1
docs: make toggleImage arguments optional in AngularJS quick reference ( #28592 )
...
PR Close #28592
2019-02-11 17:09:24 +00:00
Brandon
05a14f8a8b
docs: make parent finder functions compatible with AoT ( #28592 )
...
PR Close #28592
2019-02-11 17:09:24 +00:00
Brandon
19f13b1ad4
docs: remove unused StringSafeDatePipe from AngularJS Quick Ref example ( #28592 )
...
PR Close #28592
2019-02-11 17:09:24 +00:00
Brandon
0770978dfb
docs: enable E2E test for setup example ( #28592 )
...
This guide is not being shown publicly, and its test is currently being ignored.
Instead of deleting this test and guide, it may be repurposed in the future for a local development guide.
PR Close #28592
2019-02-11 17:09:24 +00:00
Brandon
863dbeeb7c
docs: remove quickstart example and copy tsconfig.1.json into TS config guide ( #28592 )
...
This example has long been replaced by the cli-quickstart, but was never deleted.
PR Close #28592
2019-02-11 17:09:24 +00:00
Brandon
425e0ee416
ci(docs-infra): run docs examples tests in production mode ( #28592 )
...
PR Close #28592
2019-02-11 17:09:23 +00:00
LHearen
1e5012b2cc
docs: fix shadow variable in tutorial example ( #28499 )
...
PR Close #28499
2019-02-04 14:54:53 -05:00
Jeremy Elbourn
ec6e7303dd
perf: pngcrush all pngs ( #28479 )
...
This is the result of running
```sh
find ./ -iname "*.png" -exec pngcrush -brute -ow -- {} \;
```
[Summary of size reductions](https://docs.google.com/spreadsheets/d/12Qgx7DfKabWw0PJza6ozC1kCHTofi6wyBLWGtwLW7G4/preview )
Last done in July, 2017 in #18243
PR Close #28479
2019-02-01 13:56:02 -05:00
Kapunahele Wong
75074d009f
docs: rewrite event binding section and add example ( #26162 )
...
PR Close #26162
2019-01-22 11:31:41 -08:00
Tomas Veras
6bd20e8b2f
docs: add missing type when handling errors in hero service. ( #28256 )
...
PR Close #28256
2019-01-22 09:43:43 -08:00
Kapunahele Wong
8a08ff1571
docs: fix comments in services example ( #26194 )
...
PR Close #26194
2019-01-16 17:38:23 -08:00
krzysztof-grzybek
cfb41452ce
docs: update testing doc example style for HostListener ( #26372 )
...
HostListener is preferred over host metadata by official style guide
PR Close #26372
2019-01-14 17:04:46 -08:00
Steve Dignan
9c2f6d72d6
docs: minor wording change in code example comment ( #26835 )
...
PR Close #26835
2019-01-14 10:31:23 -08:00
George Kalpakas
8c3f98fdbb
docs(service-worker): fix example of manually checking for updates ( #28020 )
...
Poll for updates in a way that does not prevent the SW from being
registered. Discussed in https://github.com/angular/angular/pull/27332#pullrequestreview-179504620 .
PR Close #28020
2019-01-11 11:17:18 -08:00
George Kalpakas
89a39bb22a
style(service-worker): fix code formatting in service-worker-getting-started example ( #28020 )
...
PR Close #28020
2019-01-11 11:17:18 -08:00
George Kalpakas
12f509c218
docs(service-worker): fix the service-worker-getting-started docs example ( #28020 )
...
Changes:
- Change the project type to `service-worker`, so that it gets
appropriate `package.json` (with `@angular/service-worker` dependency)
and `angular.json` (with `serviceWorker: true` in production config).
- Move `ngsw-config.json` to the correct directory.
- Specify custom test commands for aio's `yarn example-e2e` to also
verify that the ServiceWorker bits are set up correctly.
PR Close #28020
2019-01-11 11:17:18 -08:00
Kapunahele Wong
d505468fb7
docs: re-write interpolation section and add example ( #25170 )
...
PR Close #25170
2019-01-11 11:12:44 -08:00
Paul Gschwendtner
c7d1890aaa
build: remove travisci leftovers ( #27979 )
...
PR Close #27979
2019-01-09 10:41:16 -08:00
Andrew Crites
1de4031d9c
docs: use static zip function as an Observable creator. ( #26790 )
...
The existing example makes it seem like zip is a pipeable operator. It can be used this way, but I think that is for backwards compatibility. You can achieve the same functionality by using it as an Observable creator. I think this also makes the example clearer.
PR Close #26790
2019-01-08 17:16:45 -08:00