Trotyl Yu
0f432994b8
docs(aio): document the special treatment of undefined
2017-10-04 12:40:12 -07:00
Kapunahele Wong
d4d9009696
docs(aio): fix broken link in toh-pt5
2017-10-04 12:39:41 -07:00
Adrien Crivelli
e3a4ecef35
docs(aio): Fix incorrect wording
2017-10-03 08:15:45 -07:00
Maxim Salnikov
7cecaf2a4f
docs(aio): add ngVikings to the events page
2017-10-03 08:07:53 -07:00
Zhicheng Wang
a1cfb5b2ae
chore: 增加鸣谢清单
2017-10-03 21:57:04 +08:00
Zhicheng Wang
30cadba603
feat: 翻译了 cheatsheet
2017-10-03 21:51:07 +08:00
Trotyl Yu
68c20e43ed
docs(aio): remove outdated statement
2017-10-02 22:12:26 -05:00
Zhicheng Wang
dfde690718
微调
2017-10-01 13:41:29 +08:00
Zhicheng Wang
d7fd581c37
Merge branch 'master' into aio
...
# Conflicts:
# aio/content/guide/ajs-quick-reference.md
# aio/content/guide/animations.md
# aio/content/guide/browser-support.md
# aio/content/guide/form-validation.md
# aio/content/guide/i18n.md
# aio/content/guide/pipes.md
# aio/content/guide/router.md
# aio/content/guide/set-document-title.md
# aio/content/guide/structural-directives.md
# aio/content/guide/template-syntax.md
# aio/content/guide/testing.md
# aio/content/marketing/resources.json
# 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
2017-10-01 13:22:33 +08:00
Kapunahele Wong
334caf8e7c
docs(aio): add copy about NgForOf ( #18686 )
2017-09-27 15:25:41 -07:00
Kapunahele Wong
8d8995f1ab
docs(aio): edit summary and next step headers ( #16962 )
2017-09-27 13:45:47 -07:00
Kapunahele Wong
48c6ece2be
docs(aio): remove links to top of documents ( #16971 )
2017-09-27 13:45:25 -07:00
Kapunahele Wong
f7c7038171
docs(aio): update metadata documentation to include expression lowering ( #19203 )
2017-09-27 13:43:19 -07:00
George Kalpakas
ffceae0a01
refactor(aio): remove unnecessary `--` from yarn commands
2017-09-25 14:37:13 -07:00
Jesus Rodriguez
9bbf009dff
build(aio): change examples to CLI ( #19248 )
...
PR Close #19248
2017-09-21 17:05:54 -07:00
Chuck Jazdzewski
f96142cd7c
build: remove references to `tsc-wrapped` ( #19298 )
...
With this commit `ngc` is used instead of `tsc-wrapped` for
collecting metadata and tsickle rewriting and `tsc-wrapped`
is removed from the repository.
`@angular/tsc-wrapped@5` is now deprecated and is no longer
used, updated, or maintained as part as of Angular 5.x.x.
`@angular/tsc-wrapped@4` is still maintained and required by
Angular 4.x.x and will be maintained as long as 4.x.x is in
LTS.
PR Close #19298
2017-09-21 13:55:52 -07:00
Ward Bell
a5ee653da0
docs: update README and author guide about doc build errors ( #19276 )
...
- tells reader about `yarn serve-and-sync`.
- directs reader to look to docs-style-guide if get doc build error.
- update docs-style-guide to warn about ignored code files.
PR Close #19276
2017-09-20 12:35:31 -07:00
boblunt
7e9e92956f
我认为翻译有误
...
The tester creates a test instance of the class with `new`,
测试程序会`new`出一个测试类的实例,
2017-09-20 08:42:03 +08:00
KingMario
11ef4f9cd4
Fixed some typos
...
1.它/她 => 他/她 or other better expression.
2.some of 英雄.+它们 => 英雄.+他们
3.some of 它们.+他们 => 他们.+英雄
2017-09-20 08:40:20 +08:00
SangKa.Z
7146fd7edd
docs(testing): fix typo
2017-09-20 08:38:58 +08:00
Ward Bell
5751865228
docs: animations - replace iterator with simple code style ( #18965 )
...
Replaces iterator facade over the HeroService because webpack threw up.
Also this was an obscure distraction for readers with no obvious benefits.
PR Close #18965
2017-09-19 17:03:09 -07:00
Aravind
867ab11def
docs(aio): fix typo
2017-09-12 13:57:44 -04:00
Ward Bell
112e777b90
build(aio): update karma & systemjs config for HttpClient
...
While adding the references to the `HttpClient` packages it also crucially
adds ref to new “tslib” library required by `HttpClient`.
2017-09-08 19:31:15 -04:00
Sarun Intaralawan
290b0b48a9
docs(aio): change Stack Overflow link
2017-09-08 13:21:11 -04:00
bmarkov
865b48d78b
docs(aio): Updated jqwidgets resource desc and url
...
Updated the description and url of the jqwidgets item in the resources page
2017-09-07 14:21:52 -04:00
Zhicheng Wang
ba5bd2b882
fix: 消除重复
2017-09-07 07:25:41 +08:00
Zhicheng Wang
fa6ae18bc6
fix: 增加鸣谢
2017-09-07 07:25:20 +08:00
Zhicheng Wang
c4e7f3fe0a
fix: typo
2017-09-07 07:25:20 +08:00
Zhicheng Wang
d2d9029ca2
fix: 修正错误的翻译
2017-09-07 07:25:20 +08:00
George Kalpakas
29762f1b6a
test(aio): fix docs example e2e test ( #19070 )
...
Remove an assertion that is no longer true. This was supposed to be removed in #18998 ,
but was somehow dropped from 66a5dab85
(probably due to a bad rebase).
(Travis has been failing due to this since
https://travis-ci.org/angular/angular/jobs/272321759 .)
2017-09-06 09:10:33 -07:00
VelChen
8bd63e63bd
Update toh-pt6.md
2017-09-06 10:27:15 +08:00
Mystery
50481c4276
Update dynamic-form.md
...
docs: 修复markdown排版有误导致的 中英文同时显示 问题
2017-09-06 10:26:19 +08:00
Mystery
67bbd81667
Update dependency-injection-in-action.md
...
fix: 一些翻译修改
fix: UI显示修复
2017-09-06 10:25:47 +08:00
aaron
c2cf6c711a
fix break style in architecture doc
2017-09-06 10:24:47 +08:00
VTHINKXIE
dd9e8fa34a
fix(doc:testing): replace faceAsync with fakeAsync
2017-09-06 10:24:12 +08:00
Peter Bacon Darwin
6ac75a0674
docs(aio): add changelog, as hidden, to navigation ( #19028 )
...
This ensures that the changelog page is formatted correctly.
Closes #17604
PR Close #19028
2017-09-05 15:34:13 -05:00
nirkaufman
ab838920a1
docs(aio): add Nir Kaufman to GDE resources ( #19012 )
...
PR Close #19012
2017-09-05 15:34:06 -05:00
Jules Kremer
7d8036a2e3
docs(aio): updating about page for team changes ( #19003 )
...
PR Close #19003
2017-09-05 15:33:34 -05:00
Olivier Combe
66a5dab85a
feat(compiler): deprecate i18n comments in favor of `ng-container` ( #18998 )
...
PR Close #18998
2017-09-05 15:33:29 -05:00
Nosov Konstantin
5d70c6e34f
docs(aio): add new lib to Data Libraries ( #18656 )
...
add AngularCommerse, set of components to build e-commerce solutions with Angular + Firebase
PR Close #18656
2017-09-05 15:32:56 -05:00
Brandon Roberts
53be85a7fb
docs(aio): Updated usage of Observables in router guide. Added section for advanced redirects ( #18197 )
...
PR Close #18197
2017-09-05 15:32:49 -05:00
Olivier Combe
3c4eef8a86
refactor(core): remove deprecated `OpaqueToken` ( #18971 )
...
BREAKING CHANGE: `OpaqueToken` has been removed as it was deprecated since v4. Use `InjectionToken` instead.
PR Close #18971
2017-09-01 16:29:47 -05:00
Olivier Combe
56238fe94e
feat(compiler): set `enableLegacyTemplate` to false by default ( #18756 )
...
BREAKING CHANGE: the compiler option `enableLegacyTemplate` is now disabled by default as the `<template>` element has been deprecated since v4. Use `<ng-template>` instead. The option `enableLegacyTemplate` and the `<template>` element will both be removed in Angular v6.
PR Close #18756
2017-08-31 18:38:34 -07:00
Victor Berchet
535c7bb60c
refactor: generate i18n files in common/locales ( #18907 )
...
PR Close #18907
2017-08-29 11:26:10 -05:00
Zhicheng Wang
e1446f1fa5
fix: 增加阅读指南
2017-08-29 11:01:56 +08:00
Austin McDaniel
c1a4621c8f
docs(aio): add amcdnl to bio ( #18850 )
...
PR Close #18850
2017-08-28 18:46:26 -05:00
Zhicheng Wang
d5cc9b4bd5
fix: minor improvement
2017-08-26 17:59:07 +08:00
Zhicheng Wang
c89ce5dc3f
fix: minor improvement
2017-08-26 17:56:20 +08:00
Zhicheng Wang
6545c5a21c
fix: minor improvement
2017-08-26 17:55:21 +08:00
Miško Hevery
a80ecf6a77
Revert "refactor(router): remove deprecated `initialNavigation` options ( #18781 )"
...
This reverts commit d76761bf01
.
2017-08-22 18:39:06 -05:00
Olivier Combe
d76761bf01
refactor(router): remove deprecated `initialNavigation` options ( #18781 )
...
BREAKING CHANGE: the values `true`, `false`, `legacy_enabled` and `legacy_disabled` for the router parameter `initialNavigation` have been removed as they were deprecated. Use `enabled` or `disabled` instead.
PR Close #18781
2017-08-22 16:53:00 -05:00
FerhatE
3dc4115c8b
docs(aio): fix "Error handling" section in "HttpClient" ( #18821 )
...
Removed additional curly brackets to fix blocks. Also replaced tab with 2 spaces.
PR Close #18821
2017-08-22 15:56:12 -05:00
Olivier Combe
079d884b6c
feat(common): drop use of the Intl API to improve browser support ( #18284 )
...
BREAKING CHANGE: Because of multiple bugs and browser inconsistencies, we have dropped the intl api in favor of data exported from the Unicode Common Locale Data Repository (CLDR).
Unfortunately we had to change the i18n pipes (date, number, currency, percent) and there are some breaking changes.
1. I18n pipes
* Breaking change:
- By default Angular now only contains locale data for the language `en-US`, if you set the value of `LOCALE_ID` to another locale, you will have to import new locale data for this language because we don't use the intl API anymore.
* Features:
- you don't need to use the intl polyfill for Angular anymore.
- all i18n pipes now have an additional last parameter `locale` which allows you to use a specific locale instead of the one defined in the token `LOCALE_ID` (whose value is `en-US` by default).
- the new locale data extracted from CLDR are now available to developers as well and can be used through an API (which should be especially useful for library authors).
- you can still use the old pipes for now, but their names have been changed and they are no longer included in the `CommonModule`. To use them, you will have to import the `DeprecatedI18NPipesModule` after the `CommonModule` (the order is important):
```ts
import { NgModule } from '@angular/core';
import { CommonModule, DeprecatedI18NPipesModule } from '@angular/common';
@NgModule({
imports: [
CommonModule,
// import deprecated module after
DeprecatedI18NPipesModule
]
})
export class AppModule { }
```
Dont forget that you will still need to import the intl API polyfill if you want to use those deprecated pipes.
2. Date pipe
* Breaking changes:
- the predefined formats (`short`, `shortTime`, `shortDate`, `medium`, ...) now use the patterns given by CLDR (like it was in AngularJS) instead of the ones from the intl API. You might notice some changes, e.g. `shortDate` will be `8/15/17` instead of `8/15/2017` for `en-US`.
- the narrow version of eras is now `GGGGG` instead of `G`, the format `G` is now similar to `GG` and `GGG`.
- the narrow version of months is now `MMMMM` instead of `L`, the format `L` is now the short standalone version of months.
- the narrow version of the week day is now `EEEEE` instead of `E`, the format `E` is now similar to `EE` and `EEE`.
- the timezone `z` will now fallback to `O` and output `GMT+1` instead of the complete zone name (e.g. `Pacific Standard Time`), this is because the quantity of data required to have all the zone names in all of the existing locales is too big.
- the timezone `Z` will now output the ISO8601 basic format, e.g. `+0100`, you should now use `ZZZZ` to get `GMT+01:00`.
| Field type | Format | Example value | v4 | v5 |
|------------|---------------|-----------------------|----|---------------|
| Eras | Narrow | A for AD | G | GGGGG |
| Months | Narrow | S for September | L | MMMMM |
| Week day | Narrow | M for Monday | E | EEEEE |
| Timezone | Long location | Pacific Standard Time | z | Not available |
| Timezone | Long GMT | GMT+01:00 | Z | ZZZZ |
* Features
- new predefined formats `long`, `full`, `longTime`, `fullTime`.
- the format `yyy` is now supported, e.g. the year `52` will be `052` and the year `2017` will be `2017`.
- standalone months are now supported with the formats `L` to `LLLLL`.
- week of the year is now supported with the formats `w` and `ww`, e.g. weeks `5` and `05`.
- week of the month is now supported with the format `W`, e.g. week `3`.
- fractional seconds are now supported with the format `S` to `SSS`.
- day periods for AM/PM now supports additional formats `aa`, `aaa`, `aaaa` and `aaaaa`. The formats `a` to `aaa` are similar, while `aaaa` is the wide version if available (e.g. `ante meridiem` for `am`), or equivalent to `a` otherwise, and `aaaaa` is the narrow version (e.g. `a` for `am`).
- extra day periods are now supported with the formats `b` to `bbbbb` (and `B` to `BBBBB` for the standalone equivalents), e.g. `morning`, `noon`, `afternoon`, ....
- the short non-localized timezones are now available with the format `O` to `OOOO`. The formats `O` to `OOO` will output `GMT+1` while the format `OOOO` will be `GMT+01:00`.
- the ISO8601 basic time zones are now available with the formats `Z` to `ZZZZZ`. The formats `Z` to `ZZZ` will output `+0100`, while the format `ZZZZ` will be `GMT+01:00` and `ZZZZZ` will be `+01:00`.
* Bug fixes
- the date pipe will now work exactly the same across all browsers, which will fix a lot of bugs for safari and IE.
- eras can now be used on their own without the date, e.g. the format `GG` will be `AD` instead of `8 15, 2017 AD`.
3. Currency pipe
* Breaking change:
- the default value for `symbolDisplay` is now `symbol` instead of `code`. This means that by default you will see `$4.99` for `en-US` instead of `USD4.99` previously.
* Deprecation:
- the second parameter of the currency pipe (`symbolDisplay`) is no longer a boolean, it now takes the values `code`, `symbol` or `symbol-narrow`. A boolean value is still valid for now, but it is deprecated and it will print a warning message in the console.
* Features:
- you can now choose between `code`, `symbol` or `symbol-narrow` which gives you access to more options for some currencies (e.g. the canadian dollar with the code `CAD` has the symbol `CA$` and the symbol-narrow `$`).
4. Percent pipe
* Breaking change
- if you don't specify the number of digits to round to, the local format will be used (and it usually rounds numbers to 0 digits, instead of not rounding previously), e.g. `{{ 3.141592 | percent }}` will output `314%` for the locale `en-US` instead of `314.1592%` previously.
Fixes #10809 , #9524 , #7008 , #9324 , #7590 , #6724 , #3429 , #17576 , #17478 , #17319 , #17200 , #16838 , #16624 , #16625 , #16591 , #14131 , #12632 , #11376 , #11187
PR Close #18284
2017-08-22 15:43:58 -05:00
Zhicheng Wang
5976e2a35f
fix: translation mistake
2017-08-22 21:12:48 +08:00
Olivier Combe
ec56760c9b
refactor(common): remove deprecated `NgFor` ( #18758 )
...
BREAKING CHANGE: `NgFor` has been removed as it was deprecated since v4. Use `NgForOf` instead. This does not impact the use of`*ngFor` in your templates.
PR Close #18758
2017-08-21 18:11:01 -05:00
Zhicheng Wang
2612cd33ee
fix: minor improvement
2017-08-22 07:10:34 +08:00
Zackary Chapple
c0ba2b9ca7
docs(aio): add ngAtlanta to the events page ( #18649 )
...
PR Close #18649
2017-08-21 17:13:09 -05:00
Chau (Joe) Nguyen
fc7c858e62
docs(aio): update resources to include NinjaCodeGen Angular CRUD generator ( #18518 )
...
PR Close #18518
2017-08-21 17:13:01 -05:00
Zhicheng Wang
f3da3416f4
fix: remove github link (can't support it) #246
2017-08-21 21:44:36 +08:00
Zhicheng Wang
b88204dffb
fix: typo #243 #244 #246
2017-08-21 21:38:37 +08:00
lin
28eb918651
spelling mistake
...
树组=>数组
2017-08-21 21:33:16 +08:00
lin
c628ef0240
translate mistake
...
english part: The `:id` in the second route
current translation: 第一个路由中的:id
2017-08-21 21:32:48 +08:00
Zhicheng Wang
e9e47e645b
fix: add ng-zorro
2017-08-21 09:25:39 +08:00
Zhicheng Wang
de34171fa2
Merge remote-tracking branch 'origin/master' into aio
...
# Conflicts:
# aio/content/guide/aot-compiler.md
# aio/content/guide/change-log.md
# aio/content/guide/ts-to-js.md
# aio/content/marketing/docs.md
# aio/content/navigation.json
# aio/src/app/documents/document.service.ts
2017-08-20 19:39:38 +08:00
Zhicheng Wang
ed507026cb
fix: typo
2017-08-20 15:05:23 +08:00
Joe
ff6a20d138
docs(aio): fix card inconsistency ( #18726 )
...
PR Close #18726
2017-08-18 22:27:48 -05:00
Tea
7f4c964eef
docs(aio): typo in template-syntax guide ( #18765 )
...
PR Close #18765
2017-08-18 17:13:15 -05:00
mgechev
da14391cff
docs(aio): update resource for codelyzer ( #18742 )
...
PR Close #18742
2017-08-18 13:23:26 -05:00
Georgios Kalpakas
17b71ae382
docs(aio): move code snippet to appropriate location ( #18650 )
...
PR Close #18650
2017-08-18 13:23:09 -05:00
Zhicheng Wang
5fef0dae9c
fix: minor improvement
2017-08-18 20:53:42 +08:00
cexbrayat
5f5a8e1da6
docs(aio): typo in metadata guide ( #18730 )
...
PR Close #18730
2017-08-17 18:01:20 -05:00
Zhicheng Wang
70e9685c4f
fix: minor improvement
2017-08-16 09:11:16 +08:00
Zhicheng Wang
c1481a1c23
fix: minor improvement
2017-08-16 09:10:28 +08:00
ksvitkovsky
c65f18a2fa
docs(forms): fix reactive-forms guide typo
...
closes #17943
2017-08-15 16:42:58 -07:00
Ward Bell
697c6ed0fe
docs: remove TypeScript to JavaScript guide & sample
2017-08-15 16:31:31 -07:00
Kapunahele Wong
9320f34f19
docs(aio): add Metadata guide based on Chuck’s docs
...
Chuck’s gist
https://gist.github.com/chuckjaz/65dcc2fd5f4f5463e492ed0cb93bca60#file-Angular%20Metadata-md
Also chuck’s doc on metadata-related errors (link needed)
2017-08-15 12:14:57 -07:00
Georgios Kalpakas
4d523fda98
fix(aio): fix compilation error by using the correct type for `providers`
2017-08-10 15:57:19 -07:00
George Kalpakas
fd6ae571b8
fix(aio): add missing code snippet ( #18547 )
...
The snippet got lost some time during the migration from the old version (it is
[present in v2][1]).
[1]: https://v2.angular.io/docs/ts/latest/cookbook/aot-compiler.html#!#running-the-application
Fixes #18544
2017-08-09 14:20:25 -07:00
Zhicheng Wang
ace9bf9ace
fix: minor issue
2017-08-08 13:32:04 +08:00
Zhicheng Wang
aeaa3bdefa
fix: translate more
2017-08-08 13:18:51 +08:00
Zhicheng Wang
a6df16f891
Merge branch 'master' into aio
...
# Conflicts:
# aio/content/guide/form-validation.md
# aio/content/guide/i18n.md
# aio/content/guide/reactive-forms.md
# aio/content/marketing/index.html
# aio/content/navigation.json
# aio/src/environments/environment.stable.ts
2017-08-08 13:10:17 +08:00
雪狼
f9f8924c49
docs(aio): typo & update the bio ( #18559 )
2017-08-07 10:20:11 -07:00
Zhicheng Wang
c6227765a7
fix: minor improvement
2017-08-07 08:26:06 +08:00
gc
33b478b3a2
docs(tutorial): fix demo broken link
...
toh-pt6
2017-08-07 08:13:47 +08:00
Zhicheng Wang
5401322110
fix: 修正在线例子的链接
2017-08-07 08:10:17 +08:00
Zhicheng Wang
23c9646bdf
fix: 修正在线例子的链接
2017-08-07 08:09:33 +08:00
Zhicheng Wang
e29188ad54
fix: 快速起步改为快速上手
2017-08-07 07:49:44 +08:00
Zhicheng Wang
243430bc12
fix: minor improvement
2017-08-07 07:43:37 +08:00
Zhicheng Wang
5ccee9f642
fix: minor improvement
2017-08-06 18:17:40 +08:00
Zhicheng Wang
f2d870e0b8
fix: translate the rest of structural directives
2017-08-06 14:08:44 +08:00
Zhicheng Wang
74f98b871c
fix: minor improvement
2017-08-06 13:45:13 +08:00
Zhicheng Wang
de6cfeeee3
clean: remove useless codes
2017-08-06 13:42:51 +08:00
Zhicheng Wang
0eaf9156de
fix: use new translation logic
2017-08-06 13:37:25 +08:00
Zhicheng Wang
4c2b0b51b7
fix: some untranslated english
2017-08-06 13:23:56 +08:00
Zhicheng Wang
3a584ba96c
fix: some untranslated english
2017-08-06 13:21:34 +08:00
Zhicheng Wang
477be082fb
fix: minor improvement
2017-08-06 08:06:53 +08:00
Zhicheng Wang
019cd2e09c
fix: minor improvement
2017-08-06 08:05:08 +08:00
Zhicheng Wang
91774ac411
fix: content and toc is overlapped
2017-08-06 07:39:26 +08:00
Zhicheng Wang
446b0be846
fix: minor improvement
2017-08-05 23:51:25 +08:00
Zhicheng Wang
e7692d9e6f
fix: translated language service
2017-08-05 23:49:55 +08:00
Zhicheng Wang
8d21900eb9
fix: minor improvement
2017-08-05 22:56:57 +08:00
Zhicheng Wang
2f17cb46c5
fix: missing break lines
2017-08-05 22:47:21 +08:00
Zhicheng Wang
2e97123611
fix: minor issue
2017-08-05 22:41:26 +08:00
Zhicheng Wang
36206ac2cf
fix: minor issue
2017-08-05 22:40:17 +08:00
Zhicheng Wang
1de1da605b
fix: translated http-client
2017-08-05 22:32:31 +08:00
Zhicheng Wang
5834211133
fix: a minor mistake ( #235 )
2017-08-05 18:02:40 +08:00
Zhicheng Wang
a2cb8b052b
fix: translated the rest of visual studio 2015
2017-08-05 13:41:29 +08:00
Zhicheng Wang
ab47b12f52
fix: translated the rest of i18n
2017-08-05 13:23:14 +08:00
Zhicheng Wang
160306833c
fix: translated the rest of template-syntax
2017-08-05 12:47:14 +08:00
Zhicheng Wang
b0d988c38f
fix: translated the rest of router and structural-directives
2017-08-05 09:41:33 +08:00
Zhicheng Wang
87bc1f6c7a
fix: minor improvement
2017-08-05 08:15:43 +08:00
Zhicheng Wang
003cf81d33
fix: minor improvement
2017-08-05 08:04:16 +08:00
Zhicheng Wang
0ddf72745e
fix: translate all pure english titles
2017-08-04 14:06:15 +08:00
Zhicheng Wang
41c73556e6
fix: minor improvement
2017-08-04 13:27:54 +08:00
Zhicheng Wang
d4e2492441
fix: minor improvement
2017-08-04 09:52:10 +08:00
Zhicheng Wang
bb2082d016
fix: add line break before all figure
2017-08-04 09:27:48 +08:00
Zhicheng Wang
cfcd532b2f
fix: a back to top link
2017-08-04 09:10:22 +08:00
Zhicheng Wang
96f0fcaf49
fix: missed quick start in navigation
2017-08-04 09:09:01 +08:00
Zhicheng Wang
cc33798597
fix: same examples
2017-08-04 08:58:13 +08:00
Zhicheng Wang
19088b76f8
fix: translate more
2017-08-04 08:47:51 +08:00
Zhicheng Wang
75ac1cd5ce
fix: add line break before `<code-example...`
2017-08-04 07:39:15 +08:00
Kapunahele Wong
9b015a95eb
docs(aio): tech edits to form validation
...
closes #18495
2017-08-03 13:57:31 -07:00
Kara Erickson
939dc44391
docs(forms): update and re-organize validation guide
2017-08-03 13:56:53 -07:00
Zhicheng Wang
ed873203b5
fix: missing links
2017-08-03 15:53:45 +08:00
Zhicheng Wang
9f7ff05165
fix: merge the cli-quickstart from history
2017-08-03 15:47:54 +08:00
Zhicheng Wang
8f950c26f2
fix: change v2's link to v2.angular.cn
2017-08-03 15:30:35 +08:00
George Kalpakas
44ae6e94e3
fix(aio): fix layout of the webpack guide ( #18493 )
...
This is possibly a temporary fix for the layout, until we decide whether we want
to remove the guide or properly add it to the SideNav menu.
Fixes #17912
2017-08-02 16:00:36 -07:00
David Brooks
3923c30df0
docs(aio): fix missing anchor-open in i18n documentation ( #18476 )
...
The Internationalisation documentation, "Translate text nodes" section, has an incomplete
markdown anchor, and leaks markdown into the page. Fix the anchor by adding the opening bracket.
2017-08-02 15:56:01 -07:00
Øystein Lygre
5cc9913ded
docs(aio): replace old blog link in footer ( #18448 )
...
Fixes #18233
2017-08-02 15:45:54 -07:00
Georgios Kalpakas
cc2a4c41f9
build(aio): fix warning about missing `<h1>`
...
Fixes #17549
2017-07-31 13:40:07 -07:00
chumtoadafuq
a11542a375
docs(aio): fixed list format in FormArray section
2017-07-31 11:31:05 -07:00
Zhicheng Wang
b17f64b14d
fix: a missing anchor link
2017-07-31 08:48:00 +08:00
Zhicheng Wang
6d88fa2342
fix: all "back to top" links
2017-07-30 22:18:19 +08:00
Zhicheng Wang
1ec5c6a82f
fix: minor improvements
2017-07-30 17:40:53 +08:00
Zhicheng Wang
4a4b009662
fix: typo
2017-07-30 17:13:46 +08:00
Zhicheng Wang
02b79f900f
fix: minor improvement
2017-07-30 17:04:14 +08:00
Zhicheng Wang
f2a9db82c0
fix: translate more content
2017-07-30 16:52:20 +08:00
Zhicheng Wang
2c9e783817
fix: translate homepage.
2017-07-30 14:29:26 +08:00
Zhicheng Wang
3fe722490a
fix: don't hide translation-origin if there is not translation-result
...
fix: translate more.
2017-07-30 14:10:08 +08:00
Zhicheng Wang
747ea2a287
fix: retranslate navigation
2017-07-30 13:35:27 +08:00
Zhicheng Wang
828528dade
fix: "覆盖" -> "涵盖"
2017-07-30 12:43:20 +08:00
Zhicheng Wang
c002fddabe
fix: many of broken links
2017-07-30 12:32:56 +08:00
Zhicheng Wang
f2059b445c
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.md
# aio/content/guide/attribute-directives.md
# aio/content/guide/bootstrapping.md
# aio/content/guide/browser-support.md
# aio/content/guide/cb-index.md
# aio/content/guide/change-log.md
# aio/content/guide/cheatsheet.md
# aio/content/guide/cli-quickstart.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.md
# aio/content/guide/deployment.md
# aio/content/guide/displaying-data.md
# aio/content/guide/dynamic-component-loader.md
# aio/content/guide/dynamic-form.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/index.md
# aio/content/guide/learning-angular.md
# aio/content/guide/lifecycle-hooks.md
# aio/content/guide/ngmodule-faq.md
# aio/content/guide/ngmodule.md
# aio/content/guide/npm-packages.md
# aio/content/guide/pipes.md
# aio/content/guide/quickstart.md
# aio/content/guide/reactive-forms.md
# aio/content/guide/router.md
# aio/content/guide/security.md
# aio/content/guide/server-communication.md
# aio/content/guide/set-document-title.md
# aio/content/guide/setup-systemjs-anatomy.md
# aio/content/guide/setup.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/ts-to-js.md
# aio/content/guide/typescript-configuration.md
# aio/content/guide/upgrade.md
# aio/content/guide/user-input.md
# aio/content/guide/visual-studio-2015.md
# aio/content/guide/webpack.md
# aio/content/navigation.json
# aio/content/tutorial/index.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/styles/main.scss
# aio/transforms/angular.io-package/index.js
2017-07-30 00:09:50 +08:00
Zhicheng Wang
9db14beb5d
feat: add documents of "About Chinese version"
2017-07-29 13:42:14 +08:00
Zhicheng Wang
d8b6bdfdb5
fix: minor improvements
2017-07-29 12:59:50 +08:00
Zhicheng Wang
7a43296e99
fix: a broken link
2017-07-29 07:58:01 +08:00
Zhicheng Wang
a5fc2f430c
feat: add translator
2017-07-29 07:56:17 +08:00
Peter Bacon Darwin
71eb7437b6
docs(aio): delay ngUpgrade e2e test to avoid flakes
2017-07-28 15:28:28 -07:00
Peter Bacon Darwin
0f79223008
docs(aio): fix deprecated protractor API usage
...
`browser.getLocationAbsUrl()` is deprecated.
We should use `browser.getCurrentUrl()` instead.
2017-07-28 15:28:28 -07:00
Peter Bacon Darwin
c383048259
build(aio): ignore generated aot files
...
Assets such as images and data which are generated
by the aot build were not being ignored.
2017-07-28 15:28:28 -07:00
Peter Bacon Darwin
b18eb04b46
docs(aio): remove generated styles.css file
...
This file should have been ignored as it is created
during the build of the example
2017-07-28 15:28:28 -07:00
Antoine Mary
416ed691e5
docs(aio): fix URLSearchParams interface link to MDN
...
Fixes #18367
2017-07-28 15:26:04 -07:00
Georgios Kalpakas
0fb7484d51
refactor(aio): move content-specific images to `content/images/`
...
Fixes #17053
2017-07-28 15:06:49 -07:00
Georgios Kalpakas
c3fbe87012
fix(aio): fix link to logo in example
2017-07-28 15:06:49 -07:00
Georgios Kalpakas
24117d7a49
refactor(aio): move unused images to `unused` directories
...
This prevents the ServiceWorker from prefetching unnecessary files.
2017-07-28 15:06:49 -07:00
Gerard Sans
5152abb037
docs(aio): add my details as a contributor ( #18315 )
...
PR Close #18315
2017-07-26 17:11:07 -05:00
Georgios Kalpakas
67f7032321
fix(aio): correctly process markdown link in "Browser Support" ( #18349 )
...
The markdown processor expects an empty line between an opening tag and the
markdown content. (If there is no empty line, the content is interpreted as
plain HTML.)
Previously, the line between the opening `<td>` and the content contained
whitespace, which caused the content to be interpreted as HTML and not markdown.
Fixes #18312
PR Close #18349
2017-07-26 16:07:26 -05:00
Zhicheng Wang
a529ec5a81
feat: translated the nav menu
2017-07-26 10:33:52 +08:00
Gabriel Nicolas Avellaneda
91ab39cc55
docs(aio) - Fixed link to the glossary dash-case term ( #18311 )
...
PR Close #18311
2017-07-25 15:59:28 -05:00
Zhicheng Wang
4c57f76ce6
feat: (WIP) translate some nav menus
2017-07-25 17:25:12 +08:00
Zhicheng Wang
20a55c54ed
docs(aio): merge latest chinese translations
2017-07-23 11:51:25 +08:00
Jeremy Elbourn
1bfc77bf8c
docs(aio): pngcrush all pngs ( #18243 )
...
PR Close #18243
2017-07-20 17:47:06 -05:00
Kevin Cooper
8d2819121b
fix(aio): invalid formatting in architecure.md ( #18159 )
...
Introduced in e110a80caf (diff-9ac9c6a9277eea9856d75249a7c0a40aL127)
2017-07-20 09:48:02 -07:00
daydr3am
073e8ba2f2
docs(aio): replace old blog link ( #18252 )
...
Fixes #18233
* Docs(aio): Replaced old blog link Now with the Link to the new Angular.io Blog
* Removed double braces
2017-07-20 09:45:14 -07:00
matt24ray
c6cf678a07
docs(aio): Fixed typo with closing div
2017-07-20 09:38:28 -07:00
Stepan Suvorov
31cb418370
docs(aio): Fix http guide
2017-07-20 09:35:27 -07:00
Thanesh Rajandran
410f21c75c
docs(aio): fix typo in NgModule FAQs ( #18211 )
...
Fix #18133 . Fix typo 'added' to 'add' in the 'Why does lazy loading create a child injector' section.
2017-07-20 09:07:30 -07:00
Nicola Sanitate
9208f0beea
docs(aio): fix typo in Router documentation
...
Fix title and link to RouteConfigLoadEnd documentation
2017-07-19 15:01:50 +01:00
Scotty Waggoner
256bc8acdd
docs(http): Make name of injected HttpTestingController consistent
2017-07-18 10:35:56 -07:00
Jesse Palmer
3b588fe2b0
docs: fix typo
2017-07-18 10:11:55 -07:00
Alexey Toksarov
2a2fe11e8d
docs(aio): fix HttpClient setting new header sample
2017-07-18 10:02:27 -07:00
Peter Bacon Darwin
cdb069ab0e
docs(aio): fix cheatsheet layout for narrow screens
...
* Tell the app that this will have no Table of Contents, since we have no
h2 headings anyway.
* Remove all the `nbsp;` from the code since that doesn't help with layout
* Remove side padding from sidenav-content when screen is narrow
* Restyle the cheatsheet table when the screen is narrow
2017-07-18 17:32:43 +01:00
Peter Bacon Darwin
9d97163c64
docs(aio): fix broken image sources
2017-07-18 11:45:05 +01:00
Peter Bacon Darwin
f054c8360b
docs(aio): fix up broken links
2017-07-18 11:45:05 +01:00
Jeremy Elbourn
3f331b53b2
docs(aio): update jelbourn photo
2017-07-17 14:51:11 -07:00
Kapunahele Wong
375d598a9f
docs(aio): add George's fixes
2017-07-17 14:49:19 -07:00
Kapunahele Wong
cd67fced1c
docs(aio): add npm install to Sublime instructions
2017-07-17 14:49:19 -07:00
Kapunahele Wong
a77cf7ee37
docs(aio): add Chuck's comments
2017-07-17 14:49:19 -07:00
Kapunahele Wong
2150b45954
docs(aio): add language service doc
2017-07-17 14:49:19 -07:00
WilliamKoza
9f99f4fae2
docs: fix HttpClient sample
2017-07-17 14:03:32 -07:00
Kasidit Iamthong
c6ad212a98
docs(aio): fix HttpClient's interceptor sample
2017-07-17 14:03:16 -07:00
Don Denton
47b3ecd9a3
docs(http): fix "Expecting and answering requests" example mistake
...
Possibly overlooked testing documentation mistake fixed:
- `http.get('/data')` probably ought to be paired with `httpMock.expectOne('/data')` instead of `httpMock.expectOne('/data')`.
2017-07-17 14:01:44 -07:00
WilliamKoza
8c81c62d46
docs: fix HttpClient logging's sample
2017-07-17 14:01:24 -07:00
Daniel Bunte
7e72317059
docs(http): fixed syntax error in AuthInterceptor example
2017-07-17 14:00:59 -07:00
Stefanie Fluin
95698d93ad
fix(aio): remove title from callout
2017-07-15 15:35:15 +01:00
Georgios Kalpakas
c649da9f0a
fix(aio): remove unused `news.html` file
...
Although outdated and not used, the file would be picked up and showed in search
results.
2017-07-15 15:29:20 +01:00
Alex Rickabaugh
e0fa727594
fix(aio): document XSRF protection in HttpClient
2017-07-14 12:42:37 -07:00
cexbrayat
8e56c3cb30
docs: fix type error in HttpClient sample
2017-07-14 09:35:25 -07:00
Alex Rickabaugh
bc1ea8c54b
docs: rewrite 'Server Communication' doc guide to use HttpClient ( #18079 )
2017-07-13 15:22:07 -07:00
Jules Kremer
f0beb4d750
docs(aio): add Dart as a language option ( #18080 )
2017-07-13 12:21:28 -07:00
bmarkov
bc3b2ac251
docs(aio): Updated resources to UI Components ( #18067 )
...
With https:// the site gives console errors, because it loads fonts with http://
2017-07-13 12:19:31 -07:00
Ketan Gote
26b9492315
docs(aio): Added resource link to amexio-ng-extensions [duplicate of #17785 ] ( #17790 )
2017-07-11 15:06:14 -07:00
Kapunahele Wong
e110a80caf
docs(aio): change Angular Module to NgModule ( #16964 )
2017-07-11 15:05:20 -07:00
Sarah
20127c1456
docs: fix typos and grammar ( #17818 )
2017-07-11 13:00:53 -07:00
Trotyl Yu
bbf2133fa9
docs: update ECMAScript info ( #17801 )
2017-07-11 12:44:56 -07:00
Wassim Chegham
1b1a6ba0bb
docs: fix 404 link to SFEIR website ( #17913 )
...
Also, I moved SFEIR training description to the "onsite" section since SFEIR doesn't deliver online training.
2017-07-11 12:00:27 -07:00
Trotyl Yu
876ca9ee3a
docs(aio): fix host usage in styleguide ( #17932 )
2017-07-11 11:58:26 -07:00
Javier Revillas
9003770f02
docs: fix style in helper text ( #18055 )
2017-07-11 11:43:52 -07:00
Peter Bacon Darwin
b30c5fc874
docs(aio): fix dangling links
2017-07-11 11:44:05 +01:00
Peter Bacon Darwin
0e71836cd5
docs(aio): fix potential invalid jsdoc tag
2017-07-11 11:44:05 +01:00
Victor Berchet
c723d42d0a
refactor: fix typos ( #18000 )
2017-07-07 16:55:17 -07:00
Victor Berchet
0ede642cb9
docs(aio): Update `NgStyle` and `NgClass` to use quoted keys
2017-07-07 16:17:33 -07:00
Stefanie Fluin
e1174f3774
fix(aio): home & marketing styles cleanup ( #17926 )
2017-07-07 11:16:51 -07:00
George Kalpakas
ec58246a1b
docs(aio): add DevExtreme to the UI Components section of resources.json ( #17939 )
2017-07-06 11:15:15 -07:00
Shefali Sinha
92d7ecf627
docs: shefali edits to Authors Style Guide ( #17853 )
2017-07-05 14:33:06 -07:00
Jesus Rodriguez
dc88e0a881
docs(aio): update quickstart to latest cli
2017-07-03 08:25:19 +01:00
Artem Petrosian
f54a901b8d
docs(aio): fix visual-studio-2015 typo
...
This fixes #17283
2017-07-03 08:12:28 +01:00
Stephen Fluin
8e00161601
docs(aio): Add resources contributor info
2017-07-01 14:38:26 +01:00
Artem Petrosian
154154dde2
docs(aio): fix quickstart-cli bad HTML escape chars
2017-06-30 12:23:11 +01:00
Brandon Roberts
8d01db4638
docs: Updated router guide content and examples for paramMap
...
and queryParamMap, tracing, and incidental improvements.
closes #16991 and #16259 which it also fixes.
2017-06-29 09:35:39 -07:00
Ward Bell
96b17034e1
feat(aio): cross reference readme and docs styleguide
2017-06-29 09:35:04 -07:00
David Herges
97bb374218
fix(aio): Typo in Setup Anatomy documentation page
...
Solves #17076
2017-06-26 11:04:46 -07:00
swseverance
233044e337
docs(aio): fix typo
2017-06-26 11:04:32 -07:00
Victor Berchet
b754e600e3
feat(compiler): add support `::ng-deep`
...
- /deep/ is deprecated and being removed from Chrome
- >>> is semantically invalid in a stylesheet
- sass will no longer support either in any version of sass
-> use ::ng-deep in emulated shadow DOM mode
Because the deep combinator is deprecated in the CSS spec,
`/deep/`, `>>>` and `::ng-deep` are also deprecated in emulated shadow DOM mode
and will be removed in the future.
see https://www.chromestatus.com/features/6750456638341120
2017-06-23 14:43:42 -07:00
Anthony Van de Gejuchte
30f4fe26e0
docs(aio): cleanup rollup-config script
2017-06-23 11:55:55 -07:00
Jules Kremer
6191d53a78
docs(aio): Update resources.json - fixed language error
2017-06-23 11:52:22 -07:00
Vincent Ogloblinsky
7d30ccc4a9
docs(aio): update resources - Add Compodoc - documentation tool for Angular app
2017-06-23 11:52:22 -07:00
Ward Bell
7ba720a62a
docs(aio): resources.json - replace “Angular 2” in titles/descriptions
...
closes #16965
2017-06-23 09:04:21 -07:00
Alex Xu
eacc36bbd5
docs(aio): update Bash for Windows info
...
As of the Creator's Update, Bash on Ubuntu on Windows supports all npm commands.
https://blogs.msdn.microsoft.com/commandline/2017/04/11/windows-10-creators-update-whats-new-in-bashwsl-windows-console/
Update setup documentation accordingly.
2017-06-23 09:04:04 -07:00
Georgios Kalpakas
8b4acbbcbf
docs(aio): minor fixes for the upgrade guide
...
Fixes #17093
2017-06-23 09:03:28 -07:00
Ward Bell
21018af2bf
docs(aio): replace “Angular 1” in upgrade phonecat script
2017-06-22 14:57:02 -07:00
Ward Bell
67ffbae6f9
docs(aio): fix promises link in toh-pt4
...
closes #16050
2017-06-22 14:56:41 -07:00
Michael
5dd5bfde72
docs(aio): remove "_" from private property name
...
follow best practices from the documentation: https://angular.io/guide/styleguide#properties-and-methods
2017-06-22 14:55:42 -07:00
David
400486ced7
docs(aio): correct typos in Tour of Heroes `HeroSearchService`
2017-06-22 14:55:17 -07:00
bmarkov
1a947e4b75
docs(aio): Added resources to UI Components ( #17635 )
...
docs(aio): Added resources to UI Components
2017-06-22 14:52:58 -07:00
Kapunahele Wong
92bcfefc35
docs(aio): remove min, max & move built-in validators paragraph
2017-06-22 14:51:05 -07:00
Stepan Suvorov
133b5e6e36
docs(aio): added link to Russian Angular Courses
2017-06-22 14:46:24 -07:00
Mark Amery
8c129d73b8
docs: Fix some non-code being formatted as code in the router docs
2017-06-22 14:38:55 -07:00
Ward Bell
37cdc4f759
docs(aio): ward's changes
2017-06-21 16:21:20 -07:00
Shefali Sinha
b1dab181e0
docs(aio): change to overall prose
2017-06-21 16:21:20 -07:00
Shefali Sinha
fd6c4e371b
docs(aio): create author style guide
2017-06-21 16:21:20 -07:00
Ward Bell
0034bb28e5
fix(aio): restore component-styles/exclude hidden children
2017-06-21 11:33:19 -07:00
Dan Lipsitt
d16852898f
docs(aio): fix numbered list in testing.md
...
This list renders OK in the github UI but not at https://angular.io/guide/testing#setup
2017-06-20 16:43:26 -07:00
Jules Kremer
00874c27f4
docs(aio): update resource listing
2017-06-20 12:58:02 -07:00
Georgios Kalpakas
4f37f86433
fix(aio): switch from `innerText` to `textContent` to support older browsers
...
`innerText` is not supported in Firefox prior to v45. In most cases (at least
the ones we are interested in), `innerText` and `textContent` work equally well,
but `textContent` is more performant (as it doesn't require a reflow).
From [MDN][1] on the differences of `innerText` vs `textContent`:
> - [...]
> - `innerText` is aware of style and will not return the text of hidden
> elements, whereas `textContent` will.
> - As `innerText` is aware of CSS styling, it will trigger a reflow, whereas
> `textContent` will not.
> - [...]
[1]: https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent#Differences_from_innerText
Fixes #17585
2017-06-19 10:32:36 -07:00
Paul Gschwendtner
956a7e95d7
docs(aio): re-add biography entry for devversion
...
With SHA 2c3e948e61
the biography of Paul Gschwendtner has been accidentally removed.
This re-adds the biography entry (picture still present) as requested on Slack.
2017-06-16 07:56:15 +01:00
Jules Kremer
2c3e948e61
docs(aio): update about page
2017-06-15 07:49:41 +01:00
Kapunahele Wong
2b1de07f02
docs(aio): incorporate Ward's comments
2017-06-15 07:46:44 +01:00
Kapunahele Wong
fb877696bf
docs(aio): add short section on built-in validators, copy edits
2017-06-15 07:46:44 +01:00
David Herges
06a0cf2e31
docs(aio): http guide shows how to import toPromise operator from rxjs
...
Solves #17454
2017-06-15 07:45:12 +01:00
Trotyl Yu
38fc2a0055
fix(aio): fix trackBy demo in template-syntax article
2017-06-14 12:04:59 +01:00
Frederik Prijck
98308cd79c
docs(aio): update typescript for `examples/webpack` to same as cli
2017-06-13 10:28:10 -07:00
Ward Bell
541c9a94bf
docs(aio): i18n guide - updates for v4
2017-06-13 12:38:38 +01:00
Georgios Kalpakas
bffccf4622
fix(aio): fix buttons in "Home" and "Features"
...
Using `<a>` inside a `<button>` is not syntactically valid HTML and breaks on
some browsers (e.g. Firefox). Furthermore, clicking the button doesn't do
anything unless you click on the link (e.g. clicking on the padding around the
link does nothing), which is inconvenient and confusing.
Fixes #17448
2017-06-13 11:24:36 +01:00
Ward Bell
fc774a1871
docs: clarify when non-null-assertion-operator is needed in template-syntax
2017-06-13 08:02:30 +01:00
Jules Kremer
0658e1da7f
docs(aio): rename Upgrade docs to cheatsheet
2017-06-13 07:15:05 +01:00
Georgios Kalpakas
d961911a98
docs(aio): fix broken example in upgrade guide
...
Fixes #17109
2017-06-11 18:37:27 +01:00
Jesús Rodríguez
df7774c018
docs(aio): restore animation original value ( #17385 )
2017-06-09 18:27:11 -07:00
Kapunahele Wong
d56b7ed96d
docs(aio): reorganise the sidenav menu ( #16934 )
...
Reorganizes the items in the sidenav menu and consolidates the quickstart
and cli-quickstart guides into one.
2017-06-09 14:48:53 -07:00
Jesús Rodríguez
0020dad595
docs(aio): update examples to 4.2 ( #17367 )
2017-06-09 14:35:35 -07:00