70a6c54dcf
fix(router): routerLink should not prevent default on non-link elements
2016-11-03 10:29:18 -07:00
9245e9ec4f
fix(router): CanDeactivate receives a wrong component
...
Closes #12592
2016-11-03 10:29:18 -07:00
e76f33f3cc
fix(compiler): support multiple components in a view container
2016-11-03 10:29:17 -07:00
b60f03e074
refactor(compiler): remove unused constructor query support
2016-11-03 10:29:17 -07:00
4571dffbc9
refactor(compiler): make view.disposable
array null if empty
2016-11-03 10:29:17 -07:00
d9c0eb7c78
refactor(compiler): remove view.rootNodes
and view.projectableNodes
...
They are replaced by generated visitor functions `view.visitRootNodes` / `view.visitProjectableNodes`.
2016-11-03 10:29:17 -07:00
a40e883799
refactor(compiler): inline view.contentChildren
2016-11-03 10:29:17 -07:00
b225f03174
refactor(compiler): inline view.viewChildren in generated code
2016-11-03 10:29:17 -07:00
369945d4d6
refactor(compiler): remove unused subscriptions
in view
2016-11-03 10:29:17 -07:00
7968539a17
fix(router): call data observers when the path changes
2016-11-03 10:29:16 -07:00
56b6df8e78
fix(compiler): dedupe NgModule declarations, …
...
This is important so that we don’t generate things multiple times.
2016-11-03 10:29:16 -07:00
fa4c3ab5b0
fix(compiler): Don’t throw on empty property bindings
...
Closes #12583
2016-11-03 10:29:16 -07:00
515befbefc
style(platform-browser): clean up hammer gestures
2016-11-03 10:29:16 -07:00
4d8620cb91
refactor(playground): update gestures playground to use latest hammer.js
2016-11-03 10:29:16 -07:00
ac801898bf
style: make internal members accessibility explicit
2016-11-03 10:29:16 -07:00
e107a13aba
style: merge imports from the same modules
2016-11-03 10:29:16 -07:00
3655182d63
style: add missing semicolons
2016-11-03 10:29:15 -07:00
927fb0493b
style: add missing copyright headers
2016-11-03 10:29:15 -07:00
dbd91473fc
fix(core): improve error when multiple components match the same element
...
Closes #7067
2016-11-03 10:29:15 -07:00
9f9949296a
style(tests): clean up testing_public_spec ( #11452 )
2016-11-03 10:29:14 -07:00
07ab92f037
docs(pipes): minor fix and improvements
2016-11-03 10:29:14 -07:00
35f551da35
chore(lint): replace gulp check-task with tslint no-jasmine-focus rule
...
fixes #11800
2016-11-03 10:29:14 -07:00
a9692b6e59
refactor(facade): cleanup Intl facade
2016-11-03 10:29:13 -07:00
23402c4b68
refactor(core): removed extraneous interface from QueryList test
2016-11-03 10:22:10 -07:00
ba5c6b5e7c
fix(router): rerun resolvers when url changes
...
Closes #12603
2016-11-03 10:21:53 -07:00
6676073a4f
fix(compiler): don’t double bind functions
...
This fixes a performance regressions introduced by 178fb79b5c
.
Also makes properties in the directive wrapper private
so that closure compiler can minify them better.
2016-11-03 10:20:17 -07:00
1aabfbb312
refactor(compiler): generate host listeners in DirectiveWrappers
...
Part of #11683
2016-11-03 10:20:11 -07:00
6a79e6caf9
refactor(upgrade): spec cleanup
2016-11-03 10:20:01 -07:00
7275dfba15
fix(upgrade): silent bootstrap failures
...
fixes #12062
2016-11-03 10:19:54 -07:00
c7e4b86bf1
fix: remove double exports of template_ast
2016-10-27 20:15:18 +02:00
3a67339945
docs(reset): change semi-colon to colon in code example
...
The first code example for the reset function was invalid as it has a semi-colon instead of a colon for the last property in the json object. Change the semi-colon to a colon.
Closes https://github.com/angular/angular/issues/12531
2016-10-27 20:14:59 +02:00
80fef43334
fix(compiler-cli): fix types
2016-10-27 20:14:51 +02:00
80efa4b26b
fix(selectors): use Maps instead of objects
2016-10-27 20:14:46 +02:00
92103606e1
fix(xsrf): overwrite already set xsrf header
2016-10-27 20:14:40 +02:00
487970f6f2
refactor(compiler): move host properties into DirectiveWrapper
...
Part of #11683
2016-10-27 20:14:29 +02:00
89a493934f
refactor(compiler): make arguments in InlineArray
optional.
2016-10-27 20:14:23 +02:00
6f54ed01a8
refactor(compiler): extract createCheckBindingStmt
into compiler_util
...
Part of #11683
2016-10-27 20:14:15 +02:00
ef99670343
refactor(compiler): minor cleanups
2016-10-27 20:14:06 +02:00
808e4cf1b6
refactor(compiler): extract expression evaluation and writing to renderer from view_compiler
...
This is needed to that `DirectiveWrapper`s can also use them later on.
Part of #11683
2016-10-27 20:13:59 +02:00
9cb71fc7c9
refactor(compiler): introduce ClassBuilder
.
...
Part of #11683
2016-10-27 20:13:52 +02:00
6f082f93f5
refactor(compiler): set element attributes via one call
...
This makes the cost of using directives that have host attributes
smaller.
Part of #11683
2016-10-27 20:13:45 +02:00
0d7124e7cb
refactor(compiler): extract BindingParser
...
Needed so that we can parse directive host bindings independent of templates.
Part of #11683
2016-10-27 20:13:39 +02:00
52896591e6
fix(router): preserve resolve data
...
Closes #12306
2016-10-27 20:13:26 +02:00
07c44a76f9
tests(router): add a test showing how to handle resovle errors
2016-10-27 20:13:11 +02:00
3b5fc56cc1
fix(router): change router not to deactivate aux routes when navigating from a componentless routes
2016-10-27 20:13:03 +02:00
2c30365496
fix(router): disallow component routes with named outlets
...
Closes #11208 , #11082
2016-10-27 20:12:57 +02:00
8c6b376c07
fix(router): add a test to make sure canDeactivate guards are called for aux routes
...
Closes #11345
2016-10-27 20:12:48 +02:00
089d4533b3
fix(router): canDeactivate guards are not triggered for componentless routes
...
Closes #12375
2016-10-27 20:12:37 +02:00
8113a03c21
fix(CompilerCli): assert that all pipes and directives are declared by a module
2016-10-27 20:12:26 +02:00
93854e00e0
docs(common): minor corrections/improvements for NgClass ( #12327 )
2016-10-27 20:12:20 +02:00