angular-cn/modules/@angular
Julie Ralph b43f95435b fix(testing): add an explicit doAsyncPrecompilation step (#10015)
This removes the magic from the `inject` test helper that would inspect
the current zone and would only work with our `async` test helper.
Now, `inject` is always synchronous, and if you are using a module
that requires async precompilation, you're required to call
`doAsyncPrecompilation` in your tests.

This is part of the breaking changes introduced with the swap
to each test having an AppModule.

Closes #9975
Closes #9593

BREAKING CHANGE:

`TestInjector` is now renamed to `TestBed`

Before:

```js
import {TestInjector, getTestInjector} from '@angular/core/testing';
```

After:

```js
import {TestBed, getTestBed} from '@angular/core/testing';
```
2016-07-20 10:51:21 -07:00
..
common feat(NumberPipe): add string support (#10163) 2016-07-19 11:27:06 -07:00
compiler fix(testing): add an explicit doAsyncPrecompilation step (#10015) 2016-07-20 10:51:21 -07:00
compiler-cli fix(compiler): Query expression lambdas should have dynamic type 2016-07-13 15:41:30 -07:00
core fix(testing): add an explicit doAsyncPrecompilation step (#10015) 2016-07-20 10:51:21 -07:00
docs docs: update cheatsheet import lines (#9614) 2016-06-26 07:31:35 -07:00
examples chore(lint): enable lint check for duplicate vars 2016-07-13 12:33:39 -07:00
facade refactor(Differ): cleanup 2016-07-18 11:30:07 -07:00
forms refactor(Differ): cleanup 2016-07-18 11:30:07 -07:00
http fix(http): convert objects passed to requests into a string (#10124) 2016-07-18 14:20:03 -07:00
platform-browser fix(testing): add an explicit doAsyncPrecompilation step (#10015) 2016-07-20 10:51:21 -07:00
platform-browser-dynamic fix(testing): Add platform directives to the shim that keeps setBaseTestProviders running (#10154) 2016-07-19 08:59:14 -07:00
platform-server fix(testing): remove deprecated testing APIs (#9923) 2016-07-11 16:04:32 -07:00
router docs(router): fix provider token (#10177) 2016-07-20 07:27:09 -07:00
router-deprecated feat(ICU): enable ICU extraction even when when in is not used 2016-07-12 16:57:39 -07:00
upgrade chore(lint): enable lint check for duplicate vars 2016-07-13 12:33:39 -07:00
README.dart.md repackaging: all the file moves 2016-05-01 20:51:00 -07:00
README.js.md repackaging: all the file moves 2016-05-01 20:51:00 -07:00
license-banner.txt chore(package.json): make the packages installable 2016-05-27 17:21:34 -07:00
package.json repackaging: all the file moves 2016-05-01 20:51:00 -07:00
pubspec.yaml repackaging: all the file moves 2016-05-01 20:51:00 -07:00

README.js.md

Angular2

The sources for this package are in the main Angular2 repo. Please file issues and pull requests against that repo. This is the repository for the upcoming 2.0 version. If you're looking for the current official version of Angular you should go to angular/angular.js

This package contains different sources for different users:

  1. The files located in the root folder can be consumed using CommonJS.
  2. The files under /es6 are es6 compatible files that can be transpiled to es5 using any transpiler. This contains:
    • dev/: a development version that includes runtime type assertions
    • prod/: a production version that does not include runtime type assertions
  3. The files under /ts are the TypeScript source files.

License: Apache MIT 2.0