angular-cn/packages
Tobias Bosch cdc882bd36 feat: introduce source maps for templates (#15011)
The main use case for the generated source maps is to give
errors a meaningful context in terms of the original source
that the user wrote.

Related changes that are included in this commit:

* renamed virtual folders used for jit:
  * ng://<module type>/module.ngfactory.js
  * ng://<module type>/<comp type>.ngfactory.js
  * ng://<module type>/<comp type>.html (for inline templates)
* error logging:
  * all errors that happen in templates are logged
    from the place of the nearest element.
  * instead of logging error messages and stacks separately,
    we log the actual error. This is needed so that browsers apply
    source maps to the stack correctly.
  * error type and error is logged as one log entry.

Note that long-stack-trace zone has a bug that 
disables source maps for stack traces,
see https://github.com/angular/zone.js/issues/661.

BREAKING CHANGE:

- DebugNode.source no more returns the source location of a node.  

Closes 14013
2017-03-14 09:16:15 -07:00
..
animations Revert "refactor(platform-browser): move platform-browser/animations to animations/browser (#15043)" 2017-03-13 15:46:44 -07:00
benchpress refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
common refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
compiler feat: introduce source maps for templates (#15011) 2017-03-14 09:16:15 -07:00
compiler-cli Revert "refactor(platform-browser): move platform-browser/animations to animations/browser (#15043)" 2017-03-13 15:46:44 -07:00
core feat: introduce source maps for templates (#15011) 2017-03-14 09:16:15 -07:00
docs refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
examples feat(upgrade): support multi-slot projection in upgrade/static (#14282) 2017-03-13 17:34:53 -07:00
forms refactor: More generic build.sh file 2017-03-08 16:29:28 -08:00
http refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
language-service refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
platform-browser feat: introduce source maps for templates (#15011) 2017-03-14 09:16:15 -07:00
platform-browser-dynamic refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
platform-server fix(platform-server): fix get/set title in parse5 adapter (#14965) 2017-03-13 13:22:03 -07:00
platform-webworker refactor(core): use flags in `Renderer2.setStyle` instead of booleans (#15045) 2017-03-13 09:45:04 -07:00
platform-webworker-dynamic refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
router build: build modules and examples for karma 2017-03-08 17:35:20 -08:00
upgrade feat: introduce source maps for templates (#15011) 2017-03-14 09:16:15 -07:00
README.md refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
empty.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
es6-subset.d.ts refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
license-banner.txt refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
router-license-banner.txt refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
system.d.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
tsconfig.json refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
types.d.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00

README.md

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

License: MIT