15078 Commits

Author SHA1 Message Date
Zhicheng WANG
50577fc186 fix: 更新了 yarn.lock
fix: 微调翻译
2019-06-07 23:48:55 +08:00
Zhicheng WANG
396aa21054 fix: 更新了 yarn.lock
fix: 微调翻译
2019-06-07 16:27:11 +08:00
Zhicheng WANG
acff9ec6ce fix: 翻译了新增的部分 2019-06-07 16:00:30 +08:00
Zhicheng WANG
d17cf5f506 fix: 修订合并冲突 2019-06-07 14:00:45 +08:00
Zhicheng WANG
0fddc95118 Merge branch 'en-master' into aio 2019-06-07 12:29:04 +08:00
chenc
6102512a4d my -> app
上文说的是 appHighlight 这个自定义指令, 但是在下边的描述中说的是 my 前缀, 所以这边是不是应该是 my 前缀才对呢?
2019-06-07 10:05:36 +08:00
Eriice
ec37b1e7fb fixed translate 2019-06-07 10:05:12 +08:00
DD
d73409a3dd docs(forms): 修复错别字
原译文:
验证器就是一个函数,它可以处理单个 `FormControl` 好一组控件,
修改后:
验证器就是一个函数,它可以处理单个 `FormControl` 或一组控件,
2019-06-07 10:04:46 +08:00
Zhicheng WANG
b046dfdb6e fix: API 合并错误
fix: 暂时撤销对 HttpClient 的翻译,它的改动太大了
2019-06-06 21:38:21 +08:00
Zhicheng WANG
3e0ef413a8 fix: 错误的合并顺序 2019-06-06 20:53:13 +08:00
Zhicheng WANG
845475005c fix: 解决 prerender 在 ci 上的 bug 2019-06-06 14:32:50 +08:00
Zhicheng WANG
c070126692 fix: 添加类型定义,避免编译错误 2019-06-06 09:05:27 +08:00
Zhicheng WANG
febaccf780 fix: 细修
fix: 避免不必要的冲突
2019-06-06 08:23:40 +08:00
Zhicheng WANG
28b0698600 fix: 细修 2019-06-06 08:03:18 +08:00
Zhicheng WANG
d5c6f7ca1b fix: 翻译完 deployment 2019-06-06 07:50:06 +08:00
Zhicheng WANG
55613601c2 fix: 翻译 forms 2019-06-06 00:03:43 +08:00
Zhicheng WANG
dc761e148d fix: 翻译 data 2019-06-05 23:52:25 +08:00
Zhicheng WANG
b6d8478658 fix: 翻译 routing 2019-06-05 23:13:20 +08:00
Zhicheng WANG
597d5a43a4 fix: 翻译 Angular 入门索引页 2019-06-05 22:50:16 +08:00
Zhicheng WANG
55aaaa5e57 fix: 您替换成你 2019-06-05 21:07:54 +08:00
Zhicheng WANG
6afb87bc7a fix: 翻译 schematics 2019-06-05 20:56:39 +08:00
Zhicheng WANG
cdd1148601 fix: 翻译原理图 2019-06-05 17:15:33 +08:00
Zhicheng WANG
c9265ef726 fix: 修正标题 2019-06-05 16:17:58 +08:00
Zhicheng WANG
267c822960 fix: 翻译 Web Worker 2019-06-05 16:17:03 +08:00
Zhicheng WANG
a670a275fd fix: 翻译 ivy 2019-06-05 16:04:14 +08:00
Zhicheng WANG
e64003ee93 fix: 翻译使用情况收集 2019-06-05 15:50:22 +08:00
Zhicheng WANG
3d763e71a0 fix: 翻译 deprecations 2019-06-05 15:39:00 +08:00
Zhicheng WANG
694c563fa2 fix: 翻译 bazel 2019-06-05 14:55:18 +08:00
Zhicheng WANG
0895bcef8b fix: 翻译 app-shell 2019-06-05 14:07:45 +08:00
Zhicheng WANG
0dee068b00 fix: 纠错 2019-06-05 13:58:31 +08:00
Zhicheng WANG
f839fd6031 fix: 无效链接 2019-06-05 08:47:35 +08:00
Zhicheng WANG
321728f132 fix: navigation.json 格式错误 2019-06-05 08:06:32 +08:00
Zhicheng WANG
56b0a3148c fix: 更新了 yarn.lock 2019-06-05 07:50:02 +08:00
Zhicheng WANG
b813974ef6 fix: 修订了部分 API 文档 2019-06-05 07:43:23 +08:00
Lars Gyrup Brink Nielsen
ef4a15bc0b docs: correct typos and formatting in the Getting Started guide (#30758)
PR Close #30758
2019-06-04 13:37:27 -07:00
Olivier Combe
0d4f8c7dd9 fix(ivy): allow empty cases for ICU expressions (#30846)
We used to ignore empty strings for optimization purposes, but it turns out that empty strings are also valid values for ICU cases and we shouldn't ignore those.

FW-1290 #resolve
PR Close #30846
2019-06-04 13:36:28 -07:00
George Kalpakas
b74df20c2a docs(service-worker): mention that HTTPS is required, unless on localhost (#30847)
Fixes #30823

PR Close #30847
2019-06-04 12:03:11 -07:00
Bowen Ni
4ecff42e7f refactor: Move away from index signature based "updateCache". (#30518)
We're deprecating the index signature overloads in favor of using a Map.

PR Close #30518
2019-06-04 12:02:13 -07:00
Miško Hevery
55a14e4866 feat(ivy): in ngDevMode use named object literals and arrays for easier debugging/profiling (#30542)
PR Close #30542
2019-06-04 12:01:46 -07:00
Miško Hevery
c7850fff3b refactor(ivy): rename debug.ts to lview_debug.ts (#30542)
PR Close #30542
2019-06-04 12:01:46 -07:00
JoostK
456f2e70af fix(ivy): type checking - handle $implicit ng-template variables (#30675)
When an `ng-template` element has a variable declaration without a value,
it is assigned the value of the `$implicit` property in the embedded view's
context. The template compiler inserts a property access to `$implicit` for
template variables without a value, however the type-check code generation
logic did not. This resulted in incorrect type-checking code being generated.

Fixes FW-1326

PR Close #30675
2019-06-04 12:01:18 -07:00
JoostK
4da5e9a156 fix(ivy): type checking - apply attribute to property name mapping (#30675)
Some HTML attributes don't correspond to their DOM property name, in which
case the runtime will apply the appropriate transformation when assigning
a property using its attribute name. One example of this is the `for`
attribute, for which the DOM property is named `htmlFor`.

The type-checking machinery in ngtsc must also take this mapping into
account, as it generates type-check code in which unclaimed property bindings
are assigned to properties of (subtypes of) `HTMLElement`.

Fixes #30607
Fixes FW-1327

PR Close #30675
2019-06-04 12:01:18 -07:00
Brandon
812c231b0c docs: update example dependencies to 8.x release (#30755)
PR Close #30755
2019-06-04 11:53:55 -07:00
Pandiyan Murugan
3ed7463ad7 docs: rename component for constructor example (#30845)
PR Close #30845
2019-06-04 11:52:57 -07:00
Zhicheng WANG
9d1a89a77f fix: 修订完了所有文档 2019-06-04 22:02:31 +08:00
Zhicheng WANG
df222c3a12 fix: 修订完了 guide 部分 2019-06-04 21:48:02 +08:00
Zhicheng WANG
4ac2511634 fix: 修订了一部分翻译 2019-06-04 19:00:20 +08:00
Zhicheng WANG
2f6b90a5fa fix: 翻译了差异化加载部分 2019-06-04 17:42:32 +08:00
Pawel Kozlowski
8154433130 perf(ivy): limit allocation of LQueries_ objects (#30664)
Before this change we would systematically call LQueries.clone() when executting
elementStart / elementContainerStart instructions. This was often unnecessary as
LQueries can be mutated under 2 conditions only:
- we are crossing an element that has directives with content queries
  (new queries must be added);
- we are descending into element hierarchy (creating a child element of an existing element)
  and the current LQueries object is tracking shallow queries (shallow queries are removed).

With this PR LQueires.clone() is only done when needed and this gratelly reduces number
of LQueries object created: in the "expanding rows" benchmark number of allocated
(and often GCed just after!) LQueries is reduced from ~100k -> ~35k. This represents
over 1MB of memory that is not allocated.

PR Close #30664
2019-06-03 12:01:35 -07:00
Sergey Volynkin
07cd65b5ec docs: fix quickstart link in readme (#30807)
PR Close #30807
2019-06-03 11:43:58 -07:00