Georgios Kalpakas
6fb5250185
ci(aio): fix deploying the stable branch to Firebase
...
The `deploy-to-firebase.sh` always expects there to be a
`src/extra-files/<mode>` directory and breaks if it doesn't exist.
2017-08-09 14:18:33 -07:00
Marc Laval
2f9d8ff46d
test(animations): disable buggy test in Chrome 39 ( #18483 )
...
Fixes #15793
2017-08-09 14:15:40 -07:00
Marc Laval
e54bd59f22
fix(core): forbid destroyed views to be inserted or moved in VC ( #18568 )
...
Fixes #17780
2017-08-09 14:11:51 -07:00
George Kalpakas
1e1833198d
ci(aio): fix deploying to firebase ( #18590 )
2017-08-08 13:59:25 -07:00
Chuck Jazdzewski
6f2038cc85
fix(compiler-cli): fix and re-enble expression lowering ( #18570 )
...
Fixes issue uncovered by #18388 and re-enables expression
lowering disabled by #18513 .
2017-08-08 12:40:08 -07:00
Victor Berchet
f0a55016af
fix(core): fix platform-browser-dynamic ( #18576 )
...
follow-up for #18496
2017-08-08 11:41:12 -07:00
Zhicheng Wang
a70679fb5a
fix: "toggle origin" can not apply to the children of translation result
...
refactor: extract to standalone functions
2017-08-08 21:29:23 +08: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
Miško Hevery
fcadbf4bf6
perf: switch angular to use StaticInjector instead of ReflectiveInjector
...
This change allows ReflectiveInjector to be tree shaken resulting
in not needed Reflect polyfil and smaller bundles.
Code savings for HelloWorld using Closure:
Reflective: bundle.js: 105,864(34,190 gzip)
Static: bundle.js: 154,889(33,555 gzip)
645( 2%)
BREAKING CHANGE:
`platformXXXX()` no longer accepts providers which depend on reflection.
Specifically the method signature when from `Provider[]` to
`StaticProvider[]`.
Example:
Before:
```
[
MyClass,
{provide: ClassA, useClass: SubClassA}
]
```
After:
```
[
{provide: MyClass, deps: [Dep1,...]},
{provide: ClassA, useClass: SubClassA, deps: [Dep1,...]}
]
```
NOTE: This only applies to platform creation and providers for the JIT
compiler. It does not apply to `@Compotent` or `@NgModule` provides
declarations.
Benchpress note: Previously Benchpress also supported reflective
provides, which now require static providers.
DEPRECATION:
- `ReflectiveInjector` is now deprecated as it will be remove. Use
`Injector.create` as a replacement.
closes #18496
2017-08-07 15:42:34 -07:00
Miško Hevery
d9d00bd9b5
feat(core): Create StaticInjector which does not depend on Reflect polyfill.
2017-08-07 15:40:15 -07:00
Kara
f69561b2de
feat(forms): add updateOn submit option to FormControls ( #18514 )
2017-08-07 15:39:25 -07:00
Pawel Kozlowski
685cc26ab2
fix(common): don't recreate view when context shape doesn't change ( #18277 )
...
Problem description: when using ngTemplateOutlet with context as
an object literal in a template and binding to the context's property
the embedded view would get re-created even if context object remains
essentially the same (the same shape, just update to one properties).
This happens since currently change detection will re-create object
references when an object literal is used and one of its properties
gets updated through a binding.
Solution: this commit changes ngTemplateOutlet logic so we take
context object shape into account before deciding if we should
re-create view or just update existing context.
Fixes #13407
2017-08-07 14:31:26 -07:00
Chuck Jazdzewski
5b7432b6ea
fix(compiler-cli): remove minimist dependency of compiler-cli/index ( #18532 )
...
Indirectly removes the minimist dependency in the language service
package was added with the addition of `ngc.ts`.
2017-08-07 14:30:35 -07:00
Poy Chang
04b18a9f46
docs(common): fix the DatePipe API docs ( #18548 )
2017-08-07 11:47:08 -07:00
Matias Niemelä
05472cb21b
fix(animations): support persisting dynamic styles within animation states ( #18468 )
...
Closes #18423
Closes #17505
2017-08-07 11:40:04 -07:00
Matias Niemelä
c0c03dc4ba
fix(animations): revert container/queried animations accordingly during cancel ( #18516 )
2017-08-07 11:38:30 -07: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
104edf62f0
fix: minor improvement
2017-08-06 13:49:04 +08:00
Zhicheng Wang
7e5fb1d5fa
fix: minor improvement
2017-08-06 13:47:26 +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