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
Zheng Kai
f6c91c5a5a
docs: update rxjs example and change fromPromise to from ( #27443 )
...
the first example at https://angular.io/guide/rx-library ,
https://github.com/ReactiveX/rxjs-tslint/issues/7
PR Close #27443
2019-01-08 16:15:53 -08:00
Zhicheng WANG
8744f17f5d
Merge remote-tracking branch 'en/master' into aio
...
# Conflicts:
# aio/content/cli/index.md
# aio/content/file-not-found.md
# aio/content/guide/architecture-modules.md
# aio/content/guide/architecture-services.md
# aio/content/guide/build.md
# aio/content/guide/deployment.md
# aio/content/guide/elements.md
# aio/content/guide/feature-modules.md
# aio/content/guide/file-structure.md
# aio/content/guide/forms-overview.md
# aio/content/guide/glossary.md
# aio/content/guide/i18n.md
# aio/content/guide/npm-packages.md
# aio/content/guide/releases.md
# aio/content/guide/router.md
# aio/content/guide/service-worker-config.md
# aio/content/guide/service-worker-intro.md
# aio/content/guide/testing.md
# aio/content/guide/upgrade-performance.md
# aio/content/navigation.json
# aio/content/tutorial/toh-pt0.md
# aio/content/tutorial/toh-pt5.md
# aio/content/tutorial/toh-pt6.md
# aio/package.json
# aio/src/app/custom-elements/api/api-list.component.ts
# aio/src/app/documents/document.service.ts
# aio/src/app/layout/top-menu/top-menu.component.ts
# aio/src/index.html
# aio/src/styles/2-modules/_api-pages.scss
# aio/tools/transforms/templates/api/base.template.html
# aio/tools/transforms/templates/api/lib/memberHelpers.html
# aio/tools/transforms/templates/cli/cli-container.template.html
# aio/tools/transforms/templates/lib/githubLinks.html
# aio/yarn.lock
# packages/animations/src/animation_metadata.ts
# packages/common/http/src/backend.ts
# packages/common/http/src/client.ts
# packages/common/http/src/headers.ts
# packages/common/http/src/interceptor.ts
# packages/common/http/src/module.ts
# packages/common/http/src/params.ts
# packages/common/http/src/request.ts
# packages/common/http/src/response.ts
# packages/common/src/common_module.ts
# packages/common/src/directives/ng_class.ts
# packages/common/src/directives/ng_style.ts
# packages/common/src/directives/ng_switch.ts
# packages/common/src/i18n/format_date.ts
# packages/common/src/pipes/number_pipe.ts
# packages/core/src/change_detection/change_detection_util.ts
# packages/core/src/change_detection/pipe_transform.ts
# packages/core/src/di/injectable.ts
# packages/core/src/linker/element_ref.ts
# packages/core/src/linker/template_ref.ts
# packages/core/src/metadata/di.ts
# packages/core/src/metadata/directives.ts
# packages/core/src/metadata/lifecycle_hooks.ts
# packages/core/src/metadata/ng_module.ts
# packages/core/src/render/api.ts
# packages/forms/src/directives/form_interface.ts
# packages/forms/src/directives/ng_form.ts
# packages/forms/src/directives/ng_model.ts
# packages/forms/src/directives/reactive_directives/form_control_name.ts
# packages/forms/src/directives/select_control_value_accessor.ts
# packages/forms/src/directives/validators.ts
# packages/forms/src/form_builder.ts
# packages/forms/src/form_providers.ts
# packages/forms/src/model.ts
# packages/forms/src/validators.ts
# packages/platform-browser/src/browser.ts
# packages/platform-browser/src/security/dom_sanitization_service.ts
# packages/router/src/config.ts
# packages/router/src/events.ts
# packages/router/src/router.ts
# packages/router/src/router_module.ts
# packages/router/src/shared.ts
2018-12-29 16:04:37 +08:00
dennisameling
3983d04b1c
docs: fix dynamic-component-loader example for Adblock Plus + EasyList ( #27212 )
...
Reported issue in #18138 is due to EasyList being selected in ABP. This commit fixes both the image at the bottom of the Dynamic Component Loader example, and the Stackblitz demo.
Fixes #18138
PR Close #27212
2018-11-30 13:35:38 -08:00
seunggabi
36e7bf1b7b
style: change style css syntax ( #27253 )
...
PR Close #27253
2018-11-29 21:26:53 -08:00
Matthew Harris
9729e8f4b9
docs: removed unused pull-left classes from hero form component ( #26178 )
...
PR Close #26178
2018-11-09 10:23:17 -08:00
Frederik Schlemmer
ac1988d8e6
docs: add missing instruction in HTTP section ( #25715 )
...
PR Close #25715
2018-11-09 09:44:11 -08:00
Nikhil Sharma
0d972d9bbf
docs: update hero search component to use input event ( #26440 )
...
PR Close #26440
2018-11-08 11:29:10 -08:00
djy0
678c28175e
docs: fix typo ( #26776 )
...
PR Close #26776
2018-10-30 16:24:13 -04:00
Alexander Teplyashin
b95089db20
docs: replace unused variable by _ ( #26768 )
...
replace unused variable by _ to keep the code consistent between examples
PR Close #26768
2018-10-30 13:49:52 -04:00
Pete Bacon Darwin
d878f3df93
test(core): fix security example e2e test ( #26777 )
...
The changes in d5cbcef0ea8e3c caused this test to fail.
PR Close #26777
2018-10-26 12:31:49 -04:00
George Kalpakas
0cc9842bf6
test(upgrade): make e2e tests for upgrade docs examples less flaky ( #26726 )
...
PR Close #26726
2018-10-24 19:49:14 -04:00
George Kalpakas
54ea10288e
test(elements): make e2e tests for elements docs examples even less flaky ( #26726 )
...
PR Close #26726
2018-10-24 19:49:14 -04:00
George Kalpakas
b647608c96
test(elements): make e2e tests for elements docs examples less flaky ( #26377 )
...
PR Close #26377
2018-10-23 14:35:37 -07:00
George Kalpakas
31c462ae3f
test(animations): make e2e tests for animations docs examples less flaky ( #26377 )
...
PR Close #26377
2018-10-23 14:35:37 -07:00
Zhicheng Wang
a9ac90d3df
Merge remote-tracking branch 'en/master' into aio
...
# Conflicts:
# aio/content/guide/ajs-quick-reference.md
# aio/content/guide/animations.md
# aio/content/guide/aot-compiler.md
# aio/content/guide/architecture-components.md
# aio/content/guide/architecture-modules.md
# aio/content/guide/architecture-next-steps.md
# aio/content/guide/architecture-services.md
# aio/content/guide/architecture.md
# aio/content/guide/attribute-directives.md
# aio/content/guide/bootstrapping.md
# aio/content/guide/browser-support.md
# aio/content/guide/cheatsheet.md
# aio/content/guide/comparing-observables.md
# aio/content/guide/component-interaction.md
# aio/content/guide/component-styles.md
# aio/content/guide/dependency-injection-in-action.md
# aio/content/guide/dependency-injection-pattern.md
# aio/content/guide/dependency-injection.md
# aio/content/guide/deployment.md
# aio/content/guide/displaying-data.md
# aio/content/guide/dynamic-component-loader.md
# aio/content/guide/elements.md
# aio/content/guide/feature-modules.md
# aio/content/guide/form-validation.md
# aio/content/guide/forms.md
# aio/content/guide/glossary.md
# aio/content/guide/hierarchical-dependency-injection.md
# aio/content/guide/i18n.md
# aio/content/guide/lazy-loading-ngmodules.md
# aio/content/guide/lifecycle-hooks.md
# aio/content/guide/ngmodule-faq.md
# aio/content/guide/ngmodule-vs-jsmodule.md
# aio/content/guide/ngmodules.md
# aio/content/guide/npm-packages.md
# aio/content/guide/observables-in-angular.md
# aio/content/guide/observables.md
# aio/content/guide/pipes.md
# aio/content/guide/practical-observable-usage.md
# aio/content/guide/providers.md
# aio/content/guide/quickstart.md
# aio/content/guide/reactive-forms.md
# aio/content/guide/router.md
# aio/content/guide/rx-library.md
# aio/content/guide/security.md
# aio/content/guide/service-worker-communications.md
# aio/content/guide/service-worker-getting-started.md
# aio/content/guide/service-worker-intro.md
# aio/content/guide/setup-systemjs-anatomy.md
# aio/content/guide/setup.md
# aio/content/guide/singleton-services.md
# aio/content/guide/structural-directives.md
# aio/content/guide/styleguide.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/guide/updating.md
# aio/content/guide/upgrade.md
# aio/content/guide/user-input.md
# aio/content/guide/visual-studio-2015.md
# aio/content/marketing/docs.md
# aio/content/navigation.json
# aio/content/tutorial/toh-pt0.md
# aio/content/tutorial/toh-pt1.md
# aio/content/tutorial/toh-pt2.md
# aio/content/tutorial/toh-pt3.md
# aio/content/tutorial/toh-pt4.md
# aio/content/tutorial/toh-pt5.md
# aio/content/tutorial/toh-pt6.md
# aio/ngsw-manifest.json
# aio/package.json
# aio/src/app/custom-elements/api/api-list.component.html
# aio/src/app/custom-elements/api/api-list.component.ts
# aio/src/index.html
# aio/tools/transforms/templates/api/base.template.html
# aio/tools/transforms/templates/api/class.template.html
# aio/tools/transforms/templates/api/directive.template.html
# aio/tools/transforms/templates/api/enum.template.html
# aio/tools/transforms/templates/api/includes/class-overview.html
# aio/tools/transforms/templates/api/includes/deprecation.html
# aio/tools/transforms/templates/api/includes/export-as.html
# aio/tools/transforms/templates/api/includes/info-bar.html
# aio/tools/transforms/templates/api/includes/interface-overview.html
# aio/tools/transforms/templates/api/includes/selectors.html
# aio/tools/transforms/templates/api/lib/directiveHelpers.html
# aio/tools/transforms/templates/api/lib/githubLinks.html
# aio/tools/transforms/templates/api/lib/memberHelpers.html
# aio/tools/transforms/templates/api/package.template.html
# aio/yarn.lock
# packages/common/http/src/module.ts
# packages/common/src/common_module.ts
# packages/common/src/directives/ng_for_of.ts
# packages/common/src/directives/ng_if.ts
# packages/common/src/directives/ng_template_outlet.ts
# packages/common/src/location/location.ts
# packages/common/src/pipes/async_pipe.ts
# packages/common/src/pipes/json_pipe.ts
# packages/common/src/pipes/number_pipe.ts
# packages/common/src/pipes/slice_pipe.ts
# packages/core/src/change_detection/change_detector_ref.ts
# packages/core/src/di/injectable.ts
# packages/core/src/linker/template_ref.ts
# packages/core/src/linker/view_container_ref.ts
# packages/core/src/metadata/di.ts
# packages/core/src/metadata/ng_module.ts
# packages/core/src/render/api.ts
# packages/forms/src/directives/form_interface.ts
# packages/forms/src/directives/ng_form.ts
# packages/forms/src/directives/ng_model.ts
# packages/forms/src/directives/reactive_directives/form_control_name.ts
# packages/forms/src/directives/select_control_value_accessor.ts
# packages/forms/src/directives/validators.ts
# packages/forms/src/form_providers.ts
# packages/forms/src/model.ts
# packages/forms/src/validators.ts
# packages/router/src/config.ts
# packages/router/src/router.ts
# packages/router/src/router_module.ts
# packages/router/src/router_state.ts
2018-10-21 17:43:29 +08:00
jenniferfell
b2db32b715
docs: getting started updated for accuracy and style ( #26093 )
...
PR Close #26093
2018-10-12 14:16:02 -07:00
Brandon Roberts
67ad9468d3
docs: fix broken lazy loading examples with Angular CLI RC upgrade ( #25892 )
...
PR Close #25892
2018-10-09 17:04:19 -07:00
Brandon Roberts
67435d456c
Revert "docs: add testing styles in index.html, remove additional configuration" ( #25892 )
...
This reverts commit 621d82a44c9d46f69f3296b302984f5949b8dee8.
PR Close #25892
2018-10-09 17:04:19 -07:00
Brandon Roberts
fbfce79b93
docs: add testing styles in index.html, remove additional configuration ( #25892 )
...
PR Close #25892
2018-10-09 17:04:19 -07:00
Brandon Roberts
2a14dfa4ba
docs: update shared example dependencies to Angular 7 and CLI 7 ( #25892 )
...
PR Close #25892
2018-10-09 17:04:19 -07:00