ebc8e808a9
feat(router): register NgModuleFactory objects. ( #11211 )
...
When lazily loading code, users need to be able to get hold of the
NgModuleFactory. For SystemJS environments, the SystemJS registry serves
this purpose. However other environments, such as modules compiled with
Closure compiler, do not expose exports object or a path based registry.
For these environments, `@NgModule` objects can include an identifier, and
the loading code can then pass `loadModule(id).then(() =>
getNgModule(id))` to the router.
2016-09-01 13:46:08 -07:00
c9e5b599e4
fix(animations): ensure parent animations are triggered before children ( #11201 )
2016-09-01 13:24:26 -07:00
e42a057048
docs(cheatsheet): complete the copy edit ( #11215 )
...
…and general cleanup of the cheatsheet.
2016-09-01 12:06:42 -07:00
0bb94df1da
docs(core): docs fixes ( #11212 )
2016-09-01 11:45:59 -07:00
ddda62b1f2
docs(router): add changelog for 3.0.0-rc.2
2016-08-31 16:55:18 -07:00
f9eb1f33f4
fix(platform-webworker): remove trailing comma in package.json
2016-08-31 16:49:14 -07:00
046c1a8a25
fix(compiler-cli): update package.json to tsc-wrapped@0.3.0
2016-08-31 16:49:14 -07:00
08e48c8f73
fix(router): correct peerDependencies info in package.json
2016-08-31 16:49:14 -07:00
1b5e2b5129
test: add Intl polyfill and run Intl tests in all browsers ( #10471 )
2016-08-31 15:55:13 -07:00
562c8263dc
fix(animations): ensure animation callbacks are fired for embedded views
2016-08-31 15:46:23 -07:00
f4f6f4b4d8
fix(core): don't require reflect-metadata shim when in AOT mode
2016-08-31 15:10:09 -07:00
cc89ef6c8c
fix(core): report errors for missing di tokens correctly ( #11209 )
2016-08-31 14:47:56 -07:00
6ea5b05e7c
refactor(benchmarks): make setup nicer
...
- simplify and correct systemjs config
- remove deep imports into Ng2 packages to work with bundles
- have separate Ng2 and Polymer bootstrap files
2016-08-31 11:24:22 -07:00
873233e825
feat(benchpress): also report the statistics in the generated file
2016-08-31 08:24:11 -07:00
942104d9ac
fix(benchpress): support chrome 52
...
Without this fix, the `scriptTime` was always 0.
2016-08-31 08:24:10 -07:00
6dceaf209d
fix(benchmarks): recreate setup for running benchmarks
2016-08-31 08:24:10 -07:00
1ef122988e
fix(benchpress): make code compile and unit tests green again
2016-08-31 08:24:10 -07:00
db280fc67e
chore: move benchpress to @angular/benchpress
2016-08-31 08:24:09 -07:00
ef0f29c372
fix: merge artifact
2016-08-30 21:37:28 -07:00
1818056912
fix(TemplateParser): disallow event-property binding even with the NO_ERRORS_SCHEMA
...
closes #11026
2016-08-30 21:32:24 -07:00
1df69cb4d2
fix(DomSchemaRegistry): detect invalid elements
2016-08-30 21:32:03 -07:00
2b20db6c5a
chore: update to typescript@2.0.2 - the currect 2.0 rc
2016-08-30 21:07:45 -07:00
174c016104
fix(bundles): correct RxJS mapping in rollup config for umd/es5 bundles
2016-08-30 21:07:45 -07:00
71ae2c4525
refactor(webworkers): move webworkers to separate @angular/platform-webworker and @angular/platform-webworker-dynamic packages
...
BREAKING CHANGE: web worker platform is now exported via separate packages.
Please use @angular/platform-webworker and @angular/platform-webworker-dynamic
2016-08-30 21:07:45 -07:00
0f68351979
fix(Router): fix type ( #11181 )
2016-08-30 21:06:38 -07:00
c74a438f0c
docs(router): fix up the exampesd
2016-08-30 20:37:35 -07:00
c350ba29f6
fix(router): do not use rx/add/operator
2016-08-30 20:37:35 -07:00
6e40ef0f6d
refactor: remove requestAnimationFrame from polyfills and platforms ( #10528 )
2016-08-30 19:58:22 -07:00
979657989b
fix(packages): use ES modules for primary build ( #11120 )
2016-08-30 18:07:40 -07:00
8cb1046ce9
docs(cheatsheet): copy edit bootstrapping.md ( #11149 )
...
Also remove Dart-specific code, since the Dart cheatsheet is produced
from dart-lang/angular2.
2016-08-30 08:32:51 -07:00
d53a898f46
edit dependency-injection.md ( #11156 )
...
No copy edits to this one, but I removed Dart-specific code, since the
Dart cheatsheet is produced from dart-lang/angular2.
Part of a group of cheatsheet PRs (see #11149 ).
cc @Foxandxss & @IgorMinar
2016-08-29 18:13:35 -07:00
f9f80003c8
docs(cheatsheet): copy edit class-decorators.md ( #11154 )
...
No copy edits to this one, but I removed Dart-specific code, since the
Dart cheatsheet is produced
from dart-lang/angular2.
2016-08-29 18:13:10 -07:00
d59ee3caaa
docs(cheatsheet): copy edit component-configuration.md ( #11155 )
...
Also remove Dart-specific code, since the Dart cheatsheet is produced
from dart-lang/angular2.
Part of a group of cheatsheet PRs (see #11149 ).
cc @Foxandxss & @IgorMinar
2016-08-29 18:12:51 -07:00
b8ea71afb6
docs(cheatsheet): copy edit built-in-directives.md ( #11153 )
...
Also remove Dart-specific code, since the Dart cheatsheet is produced
from dart-lang/angular2.
2016-08-29 18:12:42 -07:00
e2241a2f92
fix(router): support guards navigating synchronously ( #11150 )
2016-08-29 17:51:38 -07:00
e8a1566065
fix(forms): support radio buttons with same name but diff parent ( #11152 )
...
Closes #10065
2016-08-29 17:49:42 -07:00
d2ad871279
fix(forms): update validity when validator dir changes
...
closes #11116
2016-08-29 13:12:46 -07:00
0b665c0ece
feat(validations): add support to bind validation attributes
...
This change enables to bind the validations attributes `required`,
`minlength`, `maxlength` and `pattern`.
Closes : #10505 , #7393
2016-08-29 13:12:20 -07:00
875e66409c
fix(closure): prevent closure renaming of testability interface ( #11146 )
2016-08-29 13:08:28 -07:00
d7de5c4f8e
refactor(compiler): replace CompileIdentifierMap
with regular Map
...
closes #11145
Also rename `CompileIdentifierMetadata.runtime` into `CompileIdentifierMetadata.reference`.
Also remove `CompileIdentifierMetadata.equalsTo` as
now it is enough to just check the `reference` fields for equality.
2016-08-29 12:45:27 -07:00
51877ef4ed
fix(compiler): no longer uses assetCacheKey for token identity.
...
Fixes #10545 , Fixes #10538
2016-08-29 12:45:02 -07:00
38069aba35
fix(compiler): make ShadowCSS shim work on Android browser ( #11139 )
...
Fixes #11123
2016-08-29 08:18:55 -07:00
7dee1ee4cf
test(core): update ErrorHandler tests to handle browsers without stack ( #11141 )
...
Fixes #11114
2016-08-29 08:17:45 -07:00
af63378fa0
fix(ShadowCss): properly shim selectors after :host and :host-context ( #10997 )
...
fixes #5390
Before the change:
// original CSS
:host .foo .bar {...}
.foo .bar {...}
// translated to
[_nghost-shh-2] .foo .bar {...}
.foo[_ngcontent-shh-2] .bar[_ngcontent-shh-2] {...}
Note that `.foo` and `.bar` where not scoped and would then apply to nested components.
With this change those selectors are scoped (as they are without `:host`).
You can explicitly apply the style to inner component by using `>>>` or `/deep/`: `:host >>> .foo`
2016-08-26 16:11:57 -07:00
abad6673e6
fix(ngc): don't quote properties in literal maps ( #11110 )
...
Closure compiler treats quoted properties specially, and doesn't rename them.
Fixes #11050
2016-08-26 15:54:34 -07:00
75553200c0
fix(http): encode correct value for %3D ( #9790 )
2016-08-26 15:47:29 -07:00
6c77d7182a
fix(compiler-cli): make ngc to work on Windows ( #10919 )
...
Fixes #10792
2016-08-26 15:41:50 -07:00
4a44832114
fix(UrlParser) stop setting default value 'true' (matrix params) ( #10946 )
...
This was already fixed recently for query params in #10399 .
2016-08-26 15:41:32 -07:00
27539c8b80
refactor(example): refactor forward_ref example into a spec and unignore example specs ( #11088 )
2016-08-26 15:40:46 -07:00
e220a80093
feat(codegen): Add an error message when the locale is not provided ( #11104 )
2016-08-26 15:38:48 -07:00