angular-docs-cn/modules/@angular
Julie Ralph a33195dcf3 fix(core/testing compiler/testing): move TestComponentBuilder to core/testing (#9590)
TestComponentBuilder now lives in core/testing. compiler/testing contains a private
OverridingTestComponentBuilder implementation which handles the private behavior
we need to override templates. This is part of the effort to simplify the testing
imports and hide compiler APIs.

Closes #9585

BREAKING CHANGE:

`TestComponentBuilder` is now imported from `@angular/core/testing`. Imports
from `@angular/compiler/testing` are deprecated.

Before:

```
import {TestComponentBuilder, TestComponentRenderer, ComponentFixtureAutoDetect} from '@angular/compiler/testing';
```

After:
```
import {TestComponentBuilder, TestComponentRenderer, ComponentFixtureAutoDetect} from '@angular/core/testing';
```
2016-06-24 17:35:01 -07:00
..
common fix(common/testing): remove internal MockLocationStrategy from common/testing (#9562) 2016-06-24 12:41:57 -07:00
compiler fix(core/testing compiler/testing): move TestComponentBuilder to core/testing (#9590) 2016-06-24 17:35:01 -07:00
compiler-cli feat(core): add `@Component.precompile` and `ComponentFactoryResolver` 2016-06-23 12:10:04 -07:00
core fix(core/testing compiler/testing): move TestComponentBuilder to core/testing (#9590) 2016-06-24 17:35:01 -07:00
docs doc(CheatSheet): update ngSwitch syntax in the cheatsheet (#9361) 2016-06-20 08:05:50 -07:00
examples fix(core/testing): clean up the core testing public API (#9466) 2016-06-23 17:10:22 -07:00
facade fix(platform-browser/testing): clean up public api for platform-browser/testing (#9519) 2016-06-23 16:42:25 -07:00
forms feat(forms): make valueChanges and statusChanges available on abstract control directives 2016-06-24 14:37:19 -07:00
http chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
platform-browser fix(common/testing): remove internal MockLocationStrategy from common/testing (#9562) 2016-06-24 12:41:57 -07:00
platform-browser-dynamic fix(core/testing compiler/testing): move TestComponentBuilder to core/testing (#9590) 2016-06-24 17:35:01 -07:00
platform-server fix(core/testing compiler/testing): move TestComponentBuilder to core/testing (#9590) 2016-06-24 17:35:01 -07:00
router chore(router): bump up version number 2016-06-24 13:07:42 -07:00
router-deprecated fix(common/testing): remove internal MockLocationStrategy from common/testing (#9562) 2016-06-24 12:41:57 -07:00
upgrade chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -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