Jason Aden
de795ea233
perf: distrubute smaller bundled code and include es2015 bundle
...
TypeScript compiler will now build to ES2015 code and modules. Babili is used to minify ES2015
code, providing an initial optimization that we couldn't previously get just from Uglify. Uses
Babel to convert ES2015 to UMD/ES5 code, and Uglify to minimize the output.
2017-02-21 20:48:55 -08:00
Miško Hevery
738d93caf7
refactor: rewrite private export using the ɵ prefix
2017-02-21 20:48:55 -08:00
Tobias Bosch
bb0460b93b
refactor(core): don’t use switch fall through but rather multiple ifs
...
V8 does this internally any ways. This way, we can also keep the existing
dirty checking order, which some apps sadly rely on.
2017-02-21 09:12:21 -08:00
Tobias Bosch
90226f7714
refactor(core): conditionally disable tests for the view engine.
2017-02-21 09:12:21 -08:00
Tobias Bosch
7db93310f1
fix: view engine - fix some corner cases
2017-02-21 09:12:21 -08:00
Tobias Bosch
32012a1ffb
refactor(core): view engine - move handleEvent function from view to element
...
Some versions of TypeScript are super slow to compile functions that
contain a lot of `if` conditions in them. Splitting the handle event
expressions per element is similar to what we did in the old codegen.
2017-02-21 09:12:21 -08:00
Tobias Bosch
58ba4f0409
fix(compiler): make view engine work with Aot
2017-02-21 09:12:21 -08:00
Victor Berchet
2ddd1c3ed2
Revert "fix(http): Make ResponseOptionsArgs an interface ( #14607 )"
...
This reverts commit fbe4b76f2d .
2017-02-20 19:48:53 -08:00
Victor Berchet
c2d5f203a5
Revert "feat(router): add an option to rerun guards and resolvers when query changes"
...
This reverts commit c2e0f71a78 .
2017-02-20 19:48:43 -08:00
Victor Berchet
670f2eca00
Revert "fix(router): do not finish bootstrap until all the routes are resolved ( #14608 )"
...
This reverts commit 2a191cae2d .
2017-02-20 19:48:23 -08:00
Victor Berchet
2a191cae2d
fix(router): do not finish bootstrap until all the routes are resolved ( #14608 )
...
Fixes #12162
closes #14155
2017-02-20 18:37:38 -08:00
vsavkin
c2e0f71a78
feat(router): add an option to rerun guards and resolvers when query changes
...
Closes #14514
Closes #14567
2017-02-20 18:01:51 -08:00
Victor Berchet
fbe4b76f2d
fix(http): Make ResponseOptionsArgs an interface ( #14607 )
...
closes #13708
2017-02-20 17:55:03 -08:00
Dzmitry Shylovich
874243279d
feat(forms): add option to use browser's native validation and angular forms ( #13566 )
...
Also renames NgNovalidate -> NgNoValidate
Closes #13573
2017-02-20 16:36:48 -08:00
Dzmitry Shylovich
551fe50ebd
feat(forms): introduce AsyncValidator interface ( #13483 )
...
Closes #13398
2017-02-20 16:26:51 -08:00
Victor Berchet
d6a58f9f70
feat(core): make new Inject() optional for deps specified as InjectionToken ( #14486 )
...
fixes #10625
2017-02-20 16:20:45 -08:00
Victor Berchet
5f3c8441e4
refactor(router): misc
...
closes #14517
2017-02-20 16:19:20 -08:00
Victor Berchet
78e8814103
feat(router): add RouteConfigLoadStart and RouteConfigLoadEnd events
2017-02-20 16:19:05 -08:00
Dzmitry Shylovich
7df6f46c1c
feat(router): introduce RouteConfigLoaded event
...
Closes #14036
2017-02-20 16:19:05 -08:00
Victor Berchet
601fd3e305
fix(platform-webworker): integrate review feedback
...
closes #14581
2017-02-20 16:17:58 -08:00
Victor Berchet
cdf99cf68b
refactor(platform-webworker): cleanup
2017-02-20 16:17:43 -08:00
Victor Berchet
3517f28609
feat(platform-webworker): renderer v2 integration
2017-02-20 16:17:43 -08:00
Victor Berchet
f38dbfbd64
refactor(platform-webworker): misc cleanup
2017-02-20 16:17:43 -08:00
Igor Minar
1bdf7061b8
release: cut v4.0.0-beta.8
2017-02-18 15:00:33 -08:00
Igor Minar
cc3afc888f
docs: add changelog for v4.0.0-beta.8
2017-02-18 14:56:45 -08:00
Ward Bell
5129e8e47c
docs(router): fix typo in canLoad interface doc comment ( #14519 )
2017-02-18 14:28:45 -08:00
Igor Minar
0cf753be30
docs: add changelog for v2.4.8
2017-02-18 14:18:42 -08:00
Ward Bell
c4a6263a01
feat(aio): replace take(1) with more semantic first() ( #14571 )
2017-02-17 22:52:57 -08:00
Ward Bell
45eac233eb
feat(aio): fill in NavMap from current doc inventory ( #14516 )
...
A port of existing navigation. NOT the final information architecture.
2017-02-17 22:50:16 -08:00
Tobias Bosch
ab26b6518d
fix(platform-browser): allow to mix shadow dom with non shadow dom
...
Allow to style components that don’t use shadow dom inside of components that do.
This reverts 53cf2ec573
and adds a test for this case.
Related to #7887
2017-02-17 17:18:55 -08:00