angular-cn/modules/@angular
Tobias Bosch 00b726f695 refactor(core): introduce `NgModule.schemas`
This allows Angular to error on unknown properties,
allowing applications that don’t use custom elements
to get better error reporting.

Part of #10043

BREAKING CHANGE:
- By default, Angular will error during parsing
  on unknown properties,
  even if they are on elements with a `-` in their name
  (aka custom elements). If you application is using
  custom elements, fill the new parameter `@NgModule.schemas`
  with the value `[CUSTOM_ELEMENTS_SCHEMA]`.

  E.g. for bootstrap:
  ```
  bootstrap(MyComponent, {schemas: [CUSTOM_ELEMENTS_SCHEMA]});
  ```
2016-07-26 07:04:36 -07:00
..
common refactor(core): change module semantics 2016-07-26 07:04:10 -07:00
compiler refactor(core): introduce `NgModule.schemas` 2016-07-26 07:04:36 -07:00
compiler-cli refactor(core): introduce `NgModule.schemas` 2016-07-26 07:04:36 -07:00
core refactor(core): introduce `NgModule.schemas` 2016-07-26 07:04:36 -07:00
docs chore: remove obsolete files (#10240) 2016-07-22 16:18:31 -07:00
examples refactor(core): change module semantics 2016-07-26 07:04:10 -07:00
facade refactor(core): change module semantics 2016-07-26 07:04:10 -07:00
forms refactor(core): change module semantics 2016-07-26 07:04:10 -07:00
http fix(testing): correctly import NgMatchers (#10077) 2016-07-22 09:20:51 -07:00
platform-browser refactor(core): introduce `NgModule.schemas` 2016-07-26 07:04:36 -07:00
platform-browser-dynamic refactor(core): introduce `NgModule.schemas` 2016-07-26 07:04:36 -07:00
platform-server refactor(core): rename `precompile` into `entryComponents`. 2016-07-26 07:04:36 -07:00
router refactor(core): rename `precompile` into `entryComponents`. 2016-07-26 07:04:36 -07:00
router-deprecated chore: remove obsolete files (#10240) 2016-07-22 16:18:31 -07:00
upgrade refactor(core): change module semantics 2016-07-26 07:04:10 -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

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