Commit Graph

234 Commits

Author SHA1 Message Date
Zhicheng Wang d9a50a8452 docs(API): 翻译完了 HttpResponse 2018-09-04 16:37:03 +08:00
Zhicheng Wang 8dbe7ff025 docs(API): 翻译完了 formatDate 2018-09-04 15:48:34 +08:00
Zhicheng Wang 3819d7de3b docs(API): 翻译完了 common/http 2018-09-04 15:04:47 +08:00
Zhicheng Wang 719650b41f docs(API): 翻译完了 CommonModule 2018-09-04 14:56:11 +08:00
Zhicheng Wang a510ed5312 docs(API): 翻译完了 JsonPipe 2018-09-04 14:54:23 +08:00
Zhicheng Wang adb6be6a02 docs(API): 翻译完了 SlicePipe 2018-09-04 14:50:06 +08:00
Zhicheng Wang 06368682ef docs(API): 翻译完了 HttpRequest 2018-09-04 13:55:45 +08:00
Zhicheng Wang 785aecb6dd docs(API): 翻译完了 HttpInterceptor 2018-09-04 13:33:50 +08:00
Zhicheng Wang d1985fc7d1 docs(API): 翻译完了 HttpParams 2018-09-04 11:05:45 +08:00
Zhicheng Wang e8d4f26644 docs(API): 翻译完了 DecimalPipe 和 CurrencyPipe 2018-09-04 10:12:28 +08:00
Zhicheng Wang 391aed864a docs(API): 翻译完了 Location 2018-09-04 09:19:39 +08:00
Zhicheng Wang eb075b665f docs(API): 翻译完了 NgTemplateOutlet 2018-09-04 08:43:00 +08:00
Zhicheng Wang 3fc7bb2ab4 docs(API): 翻译完了 AsyncPipe 2018-09-02 22:33:49 +08:00
Zhicheng Wang fe5c6d0a11 docs(API): 翻译完了 NgSwitch 2018-09-02 22:09:03 +08:00
Zhicheng Wang 6312e38a63 docs(API): 翻译完了 HttpHeaders 2018-09-02 19:31:59 +08:00
Zhicheng Wang 63127dd0c0 docs(API): 翻译完了 NgStyle 2018-09-02 11:31:35 +08:00
Zhicheng Wang c448443c70 docs(API): 翻译完了 XxxCasePipe 2018-09-02 11:28:43 +08:00
Zhicheng Wang 59425a1e5e docs(API): 翻译完了 HttpClientModule 2018-09-01 21:44:38 +08:00
Zhicheng Wang b3991897d8 docs(API): 翻译 date_pipe 2018-08-31 18:18:05 +08:00
Zhicheng Wang 3961af4fea docs(API): 翻译 NgClass 2018-08-31 16:28:42 +08:00
Zhicheng Wang 46e428659a docs(API): 翻译了 ngIf 2018-08-31 10:35:36 +08:00
Zhicheng Wang 2cd125f40c docs(API): 改进标题行翻译方式
docs(API): 翻译了 directive.ts 中的所有 tsdoc
2018-08-31 09:01:12 +08:00
Zhicheng Wang 9f34b155c4 docs(API): 翻译 ng-for-of 2018-08-30 12:56:38 +08:00
Zhicheng Wang 2dacd7f813 docs(API): 尝试对部分高频 API 进行翻译 - HttpClient 2018-08-30 12:22:02 +08:00
cexbrayat 270176bbe4 docs: more info on currency digits (#24661)
Adds an example of using the `currency` pipe with a currency that has no cents like CLP,
which will format the amount with no digits if `digitsInfo` is not provided:

    <!-- outputs CA$14.00 -->
    {{ 14 | currency:'CAD' }}
    <!-- outputs CLP14 -->
    {{ 14 | currency:'CLP' }}

Amends the docs, adds an example and fix an error with a current example.

PR Close #24661
2018-07-20 10:33:06 -07:00
Alex Rickabaugh 02b5087685 build(ivy): enable ngtsc AOT builds for a few packages (#24738)
Turn on AOT builds using ngtsc for:

* animations
* common
* compiler
* compiler-cli
* forms
* platform-browser

PR Close #24738
2018-07-12 16:36:35 -04:00
Alex Rickabaugh d05d28629d test(common): run common/http tests with Bazel (#24738)
@angular/common/http had tests which were not executed in Bazel. This
commit adds a BUILD.bazel file and ensures the tests pass.

PR Close #24738
2018-07-12 16:36:35 -04:00
Victor Berchet 0b4d85e9f1 fix(common): format fractional seconds (#24844)
fix a bug introduced in #24831

PR Close #24844
2018-07-11 14:32:32 -07:00
Victor Berchet a527c695aa fix(common): do not round factional seconds (#24831)
fixes #24384

PR Close #24831
2018-07-10 18:48:05 -07:00
Olivier Combe dcabb05102 fix(common): use correct currency format for locale de-AT (#24658)
Fixes #24609
PR Close #24658
2018-07-09 15:10:06 -07:00
George Kalpakas e01b539ee5 refactor: infer type for `it()` assertion functions (#19904)
PR Close #19904
2018-07-06 13:48:02 -07:00
George Kalpakas 00c110b055 build: upgrade jasmine (and related typings) to latest version (#19904)
With these changes, the types are a little stricter now and also not
compatible with Protractor's jasmine-like syntax. So, we have to also
use `@types/jasminewd2` for e2e tests (but not for non-e2e tests).

I also had to "augment" `@types/jasminewd2`, because the latest
typings from [DefinitelyTyped][1] do not reflect the fact that the
`jasminewd2` version (v2.1.0) currently used by Protractor supports
passing a `done` callback to a spec.

[1]: 566e039485/types/jasminewd2/index.d.ts (L9-L15)

Fixes #23952
Closes #24733

PR Close #19904
2018-07-06 13:48:02 -07:00
riren 5fe1e74dd3 docs(common): fix in the documentation of PUT (#24528)
PR Close #24528
2018-07-06 10:13:20 -07:00
Sergej f974c48885 docs: describe rounding behaviour of 'DecimalPipe' (#24303)
PR Close #24303
2018-07-06 10:13:00 -07:00
Rafael 8fe8b8fcff docs: fix typos in 'Httpclient' docs (#19127)
PR Close #19127
2018-07-06 10:09:40 -07:00
Igor Minar e3064d5432 feat: typescript 2.9 support (#24652)
PR Close #24652
2018-07-03 13:32:06 -07:00
Trotyl ff84c5c4da fix(common): properly update collection reference in NgForOf (#24684)
closes #24155

PR Close #24684
2018-06-29 06:43:44 -07:00
Olivier Combe 39c8baea31 fix(common): use correct ICU plural for locale mk (#24659)
PR Close #24659
2018-06-27 15:03:34 -07:00
Judy Bogart 7d318743c1 docs: test doc for decorator templates (#23902) (#23902)
PR Close #23902

PR Close #23902
2018-06-25 10:49:31 -07:00
Judy Bogart d244523ae6 docs: test api doc for pipes (#24141)
PR Close #24141
2018-06-25 09:37:30 -07:00
Rado Kirov c95437f15d build(bazel): Turning on strictPropertyInitialization for Angular. (#24572)
All errors for existing fields have been detected and suppressed with a
`!` assertion.

Issue/24571 is tracking proper clean up of those instances.

One-line change required in ivy/compilation.ts, because it appears that
the new syntax causes tsickle emitted node to no longer track their
original sourceFiles.

PR Close #24572
2018-06-25 07:57:13 -07:00
Pete Bacon Darwin 38a0d1fac5 docs: remove unnecessary `@linkDocs` tags (#24000)
It is cleaner and simpler to use just a straightforward link.

PR Close #24000
2018-06-13 16:47:40 -07:00
Fabian Wiles 2b49bf77af feat(common): introduce KeyValuePipe (#24319)
PR Close #24319
2018-06-13 13:30:49 -07:00
Alex Eagle c2b5ebfa24 build: update buildifier to latest (#24296)
this matches the version in ngcontainer:0.3.1

PR Close #24296
2018-06-12 11:42:35 -07:00
Victor Savkin 49c5234c68 feat(router): implement scrolling restoration service (#20030)
For documentation, see `RouterModule.scrollPositionRestoration`

Fixes #13636 #10929 #7791 #6595

PR Close #20030
2018-06-08 15:30:52 -07:00
Alex Rickabaugh 7983f0a69b ci(ivy): configure CI environments for Ivy JIT and AOT (#24309)
Two new CircleCI environments are created: test_ivy_jit and test_ivy_aot.
Both run a subset of the tests that have been marked with Bazel tags as
being appropriate for that environment.

Once all the tests pass, builds are published to the *-builds repo both
for the legacy View Engine compiled code as well as for ivy-jit and ivy-aot.

PR Close #24309
2018-06-08 13:34:27 -07:00
Miško Hevery 08a18b82de refactor(common): Remove ngOnChanges from NgForOf (#23378)
`NgForOf` used to implement `OnChanges` and than use
`ngOnChanges` callback to detect when `ngForOf` binding
changed to update the differ. We now do the checking
manually which puts less pressure on the runtime to do
the bookkeeping and should result in minor perf improvement.

PR Close #23378
2018-06-04 13:24:43 -07:00
Vikram Subramanian 60aa943e2d fix(platform-server): avoid dependency cycle when using http interceptor (#24229)
Fixes #23023.

When a HTTP Interceptor injects HttpClient it causes a DI cycle. This fix is to use Injector to lazily inject HTTP_INTERCEPTORS while setting up the HttpHandler on the server so as to break the cycle.

PR Close #24229
2018-06-01 08:33:45 -07:00
Alex Eagle 017d67cdf8 test: switch to ts_web_test_suite (#23859)
Unit tests now run on Firefox too

PR Close #23859
2018-05-15 11:40:56 -07:00
swseverance fe3679a356 style: remove empty comments (#23404)
PR Close #23404
2018-05-10 15:48:13 -07:00