angular-docs-cn/packages
George Kalpakas 13ab91e05d fix(upgrade): fix empty transclusion content with AngularJS@>=1.5.8 (#22167)
The function provided by `ngUpgrade` as `parentBoundTranscludeFn` when
upgrading a component with transclusion, will break in AngularJS v1.5.8+
if no transclusion content is provided. The reason is that AngularJS
will try to destroy the transclusion scope (which would not be needed
any more). But since the transcluded content comes from Angular, not
AngularJS, there is no transclusion scope to destroy.
This commit fixes it by providing a dummy scope object with a no-op
`$destroy()` method.

Fixes #22175

PR Close #22167
2018-02-25 10:06:14 -08:00
..
animations fix(animations): only use the WA-polyfill alongside AnimationBuilder (#22143) 2018-02-22 16:07:53 -08:00
bazel feat(bazel): add an ng_package rule (#22221) 2018-02-23 11:19:04 -08:00
benchpress fix(benchpress): should still support selenium_webdriver < 3.6.0 (#21477) 2018-01-11 10:53:44 -08:00
common feat(common): export functions to format numbers, percents, currencies & dates (#22423) 2018-02-23 15:27:10 -08:00
compiler feat(ivy): generate pipe references and definitions (#22034) 2018-02-20 13:58:03 -08:00
compiler-cli feat(bazel): add an ng_package rule (#22221) 2018-02-23 11:19:04 -08:00
core feat(bazel): add an ng_package rule (#22221) 2018-02-23 11:19:04 -08:00
docs refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
examples feat(core): set preserveWhitespaces to false by default (#22046) 2018-02-16 09:06:14 -08:00
forms feat(forms): allow markAsPending to emit events (#20212) 2018-02-22 11:15:33 -08:00
http refactor(bazel): convert most ts_library to ng_module (#22176) 2018-02-15 14:08:53 -08:00
language-service test(language-service): fix minor typos (#21372) 2018-02-20 10:08:55 -08:00
platform-browser test(platform-browser): remove stray `debugger` statement (#22167) 2018-02-25 10:06:14 -08:00
platform-browser-dynamic feat(core): set preserveWhitespaces to false by default (#22046) 2018-02-16 09:06:14 -08:00
platform-server refactor(bazel): convert most ts_library to ng_module (#22176) 2018-02-15 14:08:53 -08:00
platform-webworker refactor(bazel): convert most ts_library to ng_module (#22176) 2018-02-15 14:08:53 -08:00
platform-webworker-dynamic build: move repeated tsconfig attributes to a macro (#20964) 2018-01-10 12:30:19 -08:00
router Revert "fix(router): fix URL serialization so special characters are only encoded where needed (#22337)" 2018-02-23 18:12:40 -08:00
service-worker refactor(bazel): convert most ts_library to ng_module (#22176) 2018-02-15 14:08:53 -08:00
upgrade fix(upgrade): fix empty transclusion content with AngularJS@>=1.5.8 (#22167) 2018-02-25 10:06:14 -08:00
BUILD.bazel feat(bazel): introduce a binary stamping feature (#22176) 2018-02-15 14:08:53 -08:00
README.md Revert "docs: Remove unneeded file (#18106)" 2017-07-20 16:46:47 -05: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 build: switch from npm to yarn (#19328) 2017-09-22 13:20:52 -07:00
goog.d.ts fix(compiler): add typings for `COMPILED`. 2017-09-29 09:26:38 -07:00
license-banner.txt docs(common): update copyright years (#21232) 2018-01-04 17:45:36 -05:00
rollup.config.js refactor: make all rollup config ES5 compatible (#20028) 2017-10-30 23:09:17 -04:00
system.d.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
tsconfig-build.json build: update to latest bazel rules (#22127) 2018-02-09 17:21:54 -08:00
tsconfig-metadata.json refactor(compiler): bump metadata version to 4 (#19338) 2017-09-26 13:31:59 -07:00
tsconfig.json refactor(bazel): convert most ts_library to ng_module (#22176) 2018-02-15 14:08:53 -08:00
types.d.ts build: add bazel test rules for remainder of packages (#21053) 2017-12-22 13:10:51 -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