Zhicheng WANG
ec8397a8ed
fix: 把 interpolation 翻译成的插值表达式改为插值
2020-01-24 16:46:49 +08:00
Zhicheng WANG
8663fa04a8
Merge remote-tracking branch 'en/master' into aio
...
# Conflicts:
# .nvmrc
# aio/content/cli/index.md
# aio/content/guide/ajs-quick-reference.md
# aio/content/guide/animations.md
# aio/content/guide/aot-compiler.md
# aio/content/guide/app-shell.md
# aio/content/guide/architecture-components.md
# aio/content/guide/architecture-modules.md
# aio/content/guide/architecture-services.md
# aio/content/guide/architecture.md
# aio/content/guide/attribute-directives.md
# aio/content/guide/bazel.md
# aio/content/guide/bootstrapping.md
# aio/content/guide/browser-support.md
# aio/content/guide/build.md
# aio/content/guide/cheatsheet.md
# aio/content/guide/cli-builder.md
# aio/content/guide/comparing-observables.md
# aio/content/guide/complex-animation-sequences.md
# aio/content/guide/component-interaction.md
# aio/content/guide/component-styles.md
# aio/content/guide/creating-libraries.md
# aio/content/guide/dependency-injection-in-action.md
# aio/content/guide/dependency-injection-navtree.md
# aio/content/guide/dependency-injection-providers.md
# aio/content/guide/dependency-injection.md
# aio/content/guide/deployment.md
# aio/content/guide/deprecations.md
# aio/content/guide/displaying-data.md
# aio/content/guide/dynamic-component-loader.md
# aio/content/guide/dynamic-form.md
# aio/content/guide/elements.md
# aio/content/guide/entry-components.md
# aio/content/guide/feature-modules.md
# aio/content/guide/file-structure.md
# aio/content/guide/form-validation.md
# aio/content/guide/forms-overview.md
# aio/content/guide/forms.md
# aio/content/guide/frequent-ngmodules.md
# aio/content/guide/glossary.md
# aio/content/guide/hierarchical-dependency-injection.md
# aio/content/guide/http.md
# aio/content/guide/i18n.md
# aio/content/guide/ivy.md
# aio/content/guide/language-service.md
# aio/content/guide/lazy-loading-ngmodules.md
# aio/content/guide/lifecycle-hooks.md
# aio/content/guide/module-types.md
# aio/content/guide/ngmodule-api.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/providers.md
# aio/content/guide/reactive-forms.md
# aio/content/guide/releases.md
# aio/content/guide/reusable-animations.md
# aio/content/guide/route-animations.md
# aio/content/guide/router.md
# aio/content/guide/rx-library.md
# aio/content/guide/schematics-authoring.md
# aio/content/guide/schematics-for-libraries.md
# aio/content/guide/schematics.md
# aio/content/guide/security.md
# aio/content/guide/service-worker-communications.md
# aio/content/guide/service-worker-config.md
# aio/content/guide/service-worker-devops.md
# aio/content/guide/service-worker-getting-started.md
# aio/content/guide/service-worker-intro.md
# aio/content/guide/set-document-title.md
# aio/content/guide/setup-local.md
# aio/content/guide/sharing-ngmodules.md
# aio/content/guide/singleton-services.md
# aio/content/guide/static-query-migration.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/transition-and-triggers.md
# aio/content/guide/typescript-configuration.md
# aio/content/guide/universal.md
# aio/content/guide/updating.md
# aio/content/guide/upgrade-setup.md
# aio/content/guide/upgrade.md
# aio/content/guide/user-input.md
# aio/content/guide/using-libraries.md
# aio/content/guide/visual-studio-2015.md
# aio/content/guide/web-worker.md
# aio/content/guide/workspace-config.md
# aio/content/marketing/events.html
# aio/content/marketing/resources.json
# aio/content/navigation.json
# aio/content/start/data.md
# aio/content/start/deployment.md
# aio/content/start/forms.md
# aio/content/start/index.md
# aio/content/start/routing.md
# aio/content/tutorial/index.md
# 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/package.json
# aio/src/app/app.component.spec.ts
# aio/src/app/custom-elements/api/api-list.component.html
# aio/src/app/layout/doc-viewer/doc-viewer.component.ts
# aio/src/app/layout/mode-banner/mode-banner.component.ts
# aio/src/app/layout/nav-item/nav-item.component.html
# aio/src/app/shared/toc.service.ts
# aio/src/styles/0-base/_typography.scss
# aio/src/styles/2-modules/_api-pages.scss
# aio/tools/transforms/templates/api/lib/memberHelpers.html
# aio/yarn.lock
# packages/common/http/src/headers.ts
# packages/common/http/src/interceptor.ts
# packages/common/http/src/params.ts
# packages/common/http/src/response.ts
# packages/common/src/common_module.ts
# packages/common/src/directives/ng_for_of.ts
# packages/common/src/location/location.ts
# packages/common/src/pipes/date_pipe.ts
# packages/core/src/change_detection/pipe_transform.ts
# packages/core/src/di/injectable.ts
# packages/core/src/metadata/di.ts
# packages/core/src/metadata/directives.ts
# packages/core/src/metadata/ng_module.ts
# packages/core/src/render3/component_ref.ts
# packages/forms/src/directives/reactive_directives/form_control_name.ts
# packages/forms/src/form_builder.ts
# packages/forms/src/model.ts
# packages/forms/src/validators.ts
# packages/router/src/config.ts
# packages/router/src/directives/router_outlet.ts
# packages/router/src/events.ts
# packages/router/src/router.ts
# packages/router/src/router_module.ts
# packages/router/src/router_state.ts
# packages/router/src/shared.ts
2020-01-24 15:55:22 +08:00
Alex Rickabaugh
0c8d085666
fix(ivy): use any for generic context checks when !strictTemplates ( #34649 )
...
Previously, the template type-checker would always construct a generic
template context type with correct bounds, even when strictTemplates was
disabled. This meant that type-checking of expressions involving that type
was stricter than View Engine.
This commit introduces a 'strictContextGenerics' flag which behaves
similarly to other 'strictTemplates' flags, and switches the inference of
generic type parameters on the component context based on the value of this
flag.
PR Close #34649
2020-01-23 10:31:48 -08:00
Aravind
1be5b69174
docs: fix typo on router guide ( #34911 )
...
closes #34907
PR Close #34911
2020-01-22 14:32:56 -08:00
Judy Bogart
13ce3756c2
docs: add differential loading term to glossary ( #34884 )
...
PR Close #34884
2020-01-22 13:37:35 -08:00
Sonu Kapoor
e7cf37d99f
docs: clarify where the async
utility function is coming from ( #34876 )
...
inside the `beforeEach` for out testing guide.
Fixes #34833
PR Close #34876
2020-01-22 14:40:17 -05:00
Sonu Kapoor
def4127bf1
fix(docs-infra): convert hard-coded comparing-observables
examples into a proper mini-app ( #34327 )
...
Previously, the examples in the `comparing-observables` guide were hard-coded.
This made it impossible to test them and verify they are correct.
This commit fixes this by converting them into a proper mini-app. In a
subsequent commit, tests will be added to verify that the source code
works as expected (and guard against regressions).
Fixes #31024
PR Close #34327
2020-01-21 13:14:46 -05:00
Sonu Kapoor
15ae924035
fix(docs-infra): convert hard-coded cli-builder
examples into a proper mini-app ( #34362 )
...
Previously, the examples in the `cli-builder` guide were hard-coded.
This made it impossible to test them and verify they are correct.
This commit fixes this by converting them into a proper mini-app. In a
subsequent commit, tests will be added to verify that the source code
works as expected (and guard against regressions).
Fixes #34314
PR Close #34362
2020-01-21 13:12:18 -05:00
ajitsinghkaler
4dbc871169
docs(core): fix typo in dependency injection guide (interactive --> interacting) ( #34853 )
...
Fixes #34852
PR Close #34853
2020-01-21 13:03:04 -05:00
ajitsinghkaler
2694a3b734
docs(core): add missing quote in dependency injection provider guide ( #34854 )
...
Add closing double quote in HTML `class` attribute in dependency
injection provider guide.
Fixes #34851
PR Close #34854
2020-01-21 13:02:29 -05:00
Pete Bacon Darwin
3102dc8344
docs: do not add auto-code-links to observables example ( #34797 )
...
Fixes #34793
PR Close #34797
2020-01-16 12:06:25 -05:00
Pete Bacon Darwin
58f10026c4
docs: add deprecation info about default currency code ( #32584 )
...
In v10 the default currency code will be taken from the
current locale, rather than simply defaulting to `USD`.
PR Close #32584
2020-01-13 09:57:06 -08:00
Adam
55037d1107
build: bump year ( #34651 )
...
PR Close #34651
2020-01-13 07:21:43 -08:00
mikef
afc88074cd
docs: correct full stop position in providers section ( #34712 )
...
Correct the position of the full stop at the end of the limiting provider scope with components paragraph.
PR Close #34712
2020-01-13 07:20:24 -08:00
Judy Bogart
475ffd67f5
docs: move ngcc def from page to glossary ( #34196 )
...
PR Close #34196
2020-01-10 08:38:53 -08:00
Judy Bogart
efdf347f9c
docs: apply standard header case convention ( #34196 )
...
PR Close #34196
2020-01-10 08:38:53 -08:00
Kara Erickson
9c5510b28e
docs(ivy): document breaking change with <select> and binding order ( #34709 )
...
Closes #34470
PR Close #34709
2020-01-09 15:13:56 -08:00
Do Nhu Vy
97c3e9d59f
docs: Change screenshot to new Angular 9 app UI ( #33998 )
...
PR Close #33998
2020-01-09 13:45:11 -08:00
daniel
0c84787f29
错别字
...
“选择器” -> “拦截器”
2020-01-09 12:00:53 +08:00
Kara Erickson
9f65b787d0
docs: deprecate undecorated base classes that use Angular features ( #34668 )
...
PR Close #34668
2020-01-08 15:08:53 -08:00
George Kalpakas
7cdc118c8e
refactor(docs-infra): extract all lazy-loading-ngmodules
examples from mini-app ( #34599 )
...
Previously, some of the examples in the `lazy-loading-ngmodules` guide
were hard-coded.
This commit ensures all examples in the guide are extracted from
docregions in the corresponding example project.
PR Close #34599
2020-01-07 10:44:12 -08:00
Alan Agius
d66cf31ffc
docs: add missing t
typo and remove redundan -
( #34599 )
...
PR Close #34599
2020-01-07 10:44:12 -08:00
Alan Agius
c2d03e5e21
docs: fix lazy routes code snippet format ( #34599 )
...
PR Close #34599
2020-01-07 10:44:12 -08:00
Kara Erickson
3053e022d3
docs(ivy): minor changes to version 9 guide ( #34498 )
...
The main change here was to remove the updating instructions for
version 9 and instead point to update.angular.io. This ensures
we only have one "source of truth" for update instructions.
This commit also includes updates to error message text to
keep them up-to-date with live error messages (and thus keep
them searchable).
PR Close #34498
2020-01-07 10:34:37 -08:00
Jeff Held
eab7f9f101
docs: add a comma ( #34426 )
...
PR Close #34426
2020-01-06 11:27:05 -08:00
JoostK
e116816131
refactor(ivy): let strictTemplates
imply fullTemplateTypeCheck
( #34195 )
...
Previously, it was required that both `fullTemplateTypeCheck` and
`strictTemplates` had to be enabled for strict mode to be enabled. This
is strange, as `strictTemplates` implies `fullTemplateTypeCheck`. This
commit makes setting the `fullTemplateTypeCheck` flag optional so that
strict mode can be enabled by just setting `strictTemplates`.
PR Close #34195
2020-01-06 11:07:54 -08:00
Tianqi You
64bb7ed94b
docs: 修改有歧义的文字
2019-12-31 13:39:48 +08:00
tys1128
511a56bbda
使用 downgradeInjectable
...
修改upgradeAdapter.downgradeNg2Provider 为原文使用的 downgradeInjectable
2019-12-31 13:38:20 +08:00
HaoLi
e8c76a6f8d
fixed router page duplicate words.
...
多了一個提供
2019-12-26 08:15:16 +08:00
zhusir
9046b6dc91
docs: 翻译修正
2019-12-24 12:10:35 +08:00
chenc
8b20508609
fix: 纠错
...
根据上下文, 此处 但应该为当
2019-12-23 09:20:05 +08:00
Pawel Kozlowski
ea57587b7c
docs(ivy): document breaking changes for DebugElement classes and attributes ( #34328 )
...
PR Close #34328
2019-12-13 10:53:41 -08:00
Kapunahele Wong
a9e3cbd534
docs: add docs about inputs and strictNullChecks to template typecheck ( #34194 )
...
PR Close #34194
2019-12-12 15:58:13 -08:00
Judy Bogart
c9df9afddd
docs: add change detection to glossary ( #34316 )
...
PR Close #34316
2019-12-10 16:30:35 -08:00
Jonathan Sharpe
8683c0335b
docs: Fix links to Webpack docs ( #34326 )
...
The previous link, https://webpack.js.org/configuration/dev-server/#devserver-proxy , doesn't go directly to the proxy section.
PR Close #34326
2019-12-10 09:18:17 -08:00
Luka Petrovic
f95e2c7e7e
docs: fix broken links ( #34311 )
...
PR Close #34311
2019-12-10 09:17:12 -08:00
Sonu Kapoor
7823c23932
docs: Adds NgModule into back-ticks ( #34302 )
...
PR Close #34302
2019-12-09 11:36:35 -08:00
Matt Janssen
f98aeca146
docs(forms): fix a punctuation error ( #34278 )
...
PR Close #34278
2019-12-09 10:35:03 -08:00
Kapunahele Wong
de62d8ebdb
docs: fix migrations formatting ( #33267 )
...
PR Close #33267
2019-12-05 13:06:01 -08:00
Alan Agius
542f236dc4
docs: add documentation for server and Ivy without bundleDependencies ( #34225 )
...
PR Close #34225
2019-12-05 10:13:57 -08:00
Amadou Sall
8f102fe674
docs: remove information about which version of Firefox started supporting custom elements ( #34007 )
...
PR Close #34007
2019-12-03 16:04:54 -08:00
George Kalpakas
86d5472d91
docs(service-worker): fix paths for ngsw-config
command to match latest CLI ( #34215 )
...
PR Close #34215
2019-12-03 10:42:07 -08:00
Judy Bogart
f84f362de3
docs: clarify differential load doc ( #34189 )
...
PR Close #34189
2019-12-03 10:37:11 -08:00
Charles Lyding
56f4e56094
docs: Ivy i18n guide updates for localize option ( #34053 )
...
PR Close #34053
2019-12-03 10:14:15 -08:00
Alan Agius
e6dbcd0f46
docs: remove redundant dashes ( #34172 )
...
PR Close #34172
2019-12-02 11:26:21 -08:00
Paul Gschwendtner
5b04abd5c0
docs: update title of v9 injectable migration guide ( #34125 )
...
The missing-injectable migration has been updated to handle a breaking change that is
unrelated to missing ´@Injectable` decorators. Though, the breaking change will be handled
as part of this migration since we did not want to create another migration (with all the boilerplate etc.)
The guide has been already updated to reflect the new pattern the migration handles, but we
should also rename the title of the guide to something that also mentions the other pattern.
Not renaming the guide URL since it is referenced in past releases and it's safer to keep the old
URL. The important thing is to change the actual rendered title.
PR Close #34125
2019-12-02 11:21:50 -08:00
Santosh Yadav
040673464c
docs: small typo in DI docs ( #34122 )
...
PR Close #34122
2019-12-02 11:20:39 -08:00
Paul Gschwendtner
3414760bdd
docs: update injectable migration guide to reflect latest schematic changes ( #33960 )
...
Since we created the migration guide for the `missing-injectable` schematic, the schematic
changed in various ways. e.g. the migration no longer migrates classes passed to `useExisting`
Additionally the migration has been expanded to handle another Ivy breaking change where
providers like `{provide: X}` will be intepreted as `{provide: X, useClass: X}`. This pattern should
be documented in the migration guide.
PR Close #33960
2019-11-26 16:37:48 -05:00
Kapunahele Wong
78c65c330f
docs: add note about strictTemplates and strictNullChecks together ( #34039 )
...
PR Close #34039
2019-11-26 16:36:51 -05:00
ajitsinghkaler
5ff98fe701
docs: removed non-supported versions from LTS ( #34005 )
...
PR Close #34005
2019-11-26 16:36:23 -05:00