angular-cn/modules/@angular
Marcus Krahl 654ff6115a fix(http): deep copy for constructor using existing Headers (#10679)
When creating a new Headers object using an existing Headers object
the existing Headers map is copied by reference. Therefore adding a
new Header value to the new Headers object also added this value to
the existing Headers object which is not in accordance with the
spec.
This commit alters the constructor to create a deep copy of existing
Headers maps and therefore unlink existing Headers from new Headers.

Closes #6845

BREAKING CHANGE: 

any code which relies on the fact that a newly
created Headers object is referencing an existing Headers map is
now broken, but that should normally not be the case since this
behavior is not documented and not in accordance with the spec.
2016-08-18 15:00:44 -07:00
..
common fix(pipes): remove bidi control chars (#10870) 2016-08-18 13:31:33 -07:00
compiler refactor(core): Removed test deprecated references from runtime_compiler (#10927) 2016-08-18 11:20:02 -07:00
compiler-cli fix(ngc): don't codegen foo.d.ngfactory.ts from foo.d.ts (#10833) 2016-08-18 10:11:06 -07:00
core refactor(core): remove deprecated functions ReflectiveInjector.fromResolvedBindings and ResolvedReflectiveBinding (#10819) 2016-08-17 16:53:09 -07:00
docs refactor(core): remove deprecated functions ReflectiveInjector.fromResolvedBindings and ResolvedReflectiveBinding (#10819) 2016-08-17 16:53:09 -07:00
examples refactor(core): remove deprecated 'bootstrap' (#10831) 2016-08-16 11:15:01 -07:00
facade fix(pipes): remove bidi control chars (#10870) 2016-08-18 13:31:33 -07:00
forms test(forms): update reactive form integration tests to use TestBed (#10908) 2016-08-17 17:10:56 -07:00
http fix(http): deep copy for constructor using existing Headers (#10679) 2016-08-18 15:00:44 -07:00
platform-browser feat(core): Throw a descriptive error when BrowserModule is installed a second time (via lazy loading). (#10899) 2016-08-18 13:34:28 -07:00
platform-browser-dynamic fix(platform-browser-dynamic): Rename CACHED_TEMPLATE_PROVIDER to RESOURCE_CACHE_PROVIDER (#10866) 2016-08-17 09:24:44 -07:00
platform-server refactor(various): remove a few lingering but unused deprecated apis (#10896) 2016-08-17 16:36:10 -07:00
router refactor(router): update stability labels (#10902) 2016-08-17 15:35:30 -07:00
upgrade refactor(Provider): remove deprecated provider/bind API (#10652) 2016-08-15 19:37:42 -07:00
README.js.md
license-banner.txt chore(package.json): make the packages installable 2016-05-27 17:21:34 -07:00
package.json

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