Jason Bedard
4f09f7db73
fix(upgrade): properly destroy upgraded component elements and descendants ( #26209 )
...
Fixes #26208
PR Close #26209
2018-10-11 21:07:49 -07:00
Jason Aden
65555fe35d
Revert "fix(upgrade): properly destroy upgraded component elements and descendants ( #26209 )"
...
This reverts commit 6da3867d638baa71eea8f3e3741e0afccc98e86b. Revert is needed due to compilation failures due to this PR inside Google.
2018-10-10 14:46:20 -07:00
Jason Bedard
6da3867d63
fix(upgrade): properly destroy upgraded component elements and descendants ( #26209 )
...
Fixes #26208
PR Close #26209
2018-10-10 14:19:01 -07:00
Jason Aden
b22c376123
Revert "fix(upgrade): properly destroy upgraded component elements and descendants ( #26209 )"
...
This reverts commit 623adbbdf7c052f8f493bd79f863f4647bfa6cde.
2018-10-08 14:36:59 -07:00
Jason Bedard
623adbbdf7
fix(upgrade): properly destroy upgraded component elements and descendants ( #26209 )
...
Fixes #26208
PR Close #26209
2018-10-08 12:06:13 -07:00
George Kalpakas
82e06766b8
fix(upgrade): trigger $destroy
event on upgraded component element ( #25357 )
...
Fixes #25334
PR Close #25357
2018-09-05 11:35:15 -07:00
George Kalpakas
d7dc1b5e44
refactor(upgrade): improve internal AngularJS typings ( #24937 )
...
PR Close #24937
2018-08-06 14:52:52 -07:00
George Kalpakas
7d1f9c8a7c
build: upgrade AngularJS typings ( #24583 )
...
Previously, we were using [@types/angularjs][1], which is deprecated and
outdated (hasn't been updated for over two years). This PR switches to
[@types/angular][2], which is regularly updated (based on the
definitions on [DefinitelyTyped][3]).
[1]: https://www.npmjs.com/package/@types/angularjs
[2]: https://www.npmjs.com/package/@types/angular
[3]: https://github.com/DefinitelyTyped/DefinitelyTyped
PR Close #24583
2018-06-25 09:30:46 -07:00
Pete Bacon Darwin
4b96a58c5a
docs: remove all deprecated @stable
jsdoc tags ( #23210 )
...
These are no longer needed as stable docs are computed as those that
do not have `@experimental` or `@deprecated` tags.
PR Close #23210
2018-04-10 21:49:32 -07:00
Pete Bacon Darwin
b8053f1d4f
docs(upgrade): remove unnecessary {@link... }
tags ( #23197 )
...
Backtick enclosed inline code blocks will be automatically linked
if appropriate.
PR Close #23197
2018-04-05 09:30:27 -07:00
George Kalpakas
8e1e040f72
test(upgrade): run tests against multiple AngularJS versions ( #22167 )
...
Fixes #19332
PR Close #22167
2018-02-25 10:06:14 -08:00
vsavkin
057513536b
fix(upgrade): replaces get/setAngularLib with get/setAngularJSGlobal
...
The current names are confusing because Angular should refer to the latest version of the framework.
2017-12-18 12:10:01 -08:00
Yi Qi
97cc6caa33
fix(upgrade): add testability hook to downgraded component
...
Add testability hook to downgraded component so that protractor can wait for asynchronous call to complete.
Add unregisterApplication() and unregisterAllApplications() to testability registry for cleaning up testability and unit test.
2017-09-12 16:59:27 -04:00
Georgios Kalpakas
43c33d5663
fix(upgrade): ensure downgraded components are created in the Angular zone ( #18209 )
...
PR Close #18209
2017-07-20 16:25:11 -05:00
Georgios Kalpakas
44b50427d9
refactor(upgrade): clean up some types
2017-07-14 14:10:30 -07:00
Georgios Kalpakas
67e9c62013
fix(upgrade): fix transclusion on upgraded components ( #17971 )
...
Previously, only simple, single-slot transclusion worked on upgraded components.
This commit fixes/adds support for the following:
- Multi-slot transclusion.
- Using fallback content when no transclusion content is provided.
- Destroy unused scope (when using fallback content).
Fixes #13271
2017-07-07 08:52:46 -07:00
Michael Giambalvo
269bbe0e7d
fix(upgrade): call setInterval outside the Angular zone
...
This wraps the $interval service when using upgrade to run the
$interval() call outside the Angular zone. However, the callback is
invoked within the Angular zone, so changes still propagate to
downgraded components.
2017-06-06 14:11:21 -07:00
Miško Hevery
5293794316
fix: turn on nullability in the code base.
2017-04-18 12:07:33 -07:00
Tobias Bosch
90814e4449
feat(upgrade): fixes for allow setting the angularjs lib at runtime
...
- always have a value for `angular`, even if no angular is on the page
- use `const` instead of `function` to allow to export a variable `module`
without breaking tsickle / closure.
2017-04-17 14:35:55 -07:00
Tobias Bosch
e927aeae86
feat(upgrade): allow setting the angularjs lib at runtime ( #15168 )
...
Readds 8ad464d90e735ab3f59bdb95191ef9110e63ac84.
2017-04-17 14:35:55 -07:00
Tobias Bosch
590e68c251
Revert "feat(upgrade): allow setting the angularjs lib at runtime ( #15168 )"
...
This reverts commit 8ad464d90e735ab3f59bdb95191ef9110e63ac84.
Breaks G3.
2017-04-14 11:20:12 -07:00
Victor Savkin
8ad464d90e
feat(upgrade): allow setting the angularjs lib at runtime ( #15168 )
...
This PR adds an ability to reset the angularjs library, which is often needed when Angular
is loaded lazily using RequireJS.
2017-04-14 09:04:28 -07:00
Pete Bacon Darwin
914797a8ff
feat(upgrade): support multi-slot projection in upgrade/static ( #14282 )
...
Closes #14261
2017-03-13 17:34:53 -07:00
Jason Aden
3e51a19983
refactor: move angular source to /packages rather than modules/@angular
2017-03-08 16:29:27 -08:00