Miško Hevery
01d93f3af8
fix(upgrade): Update types for TypeScript nullability support
...
Closes #15897
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
Victor Berchet
ea49a95bd9
fix(upgrade): component injectors should not link the module injector tree ( #15385 )
2017-03-22 15:22:38 -07:00
Tobias Bosch
9429032da1
feat(upgrade): use ComponentFactory.inputs/outputs/ngContentSelectors
( #15214 )
...
DEPRECATION:
- the arguments `inputs` / `outputs` / `ngContentSelectors` of `downgradeComponent`
are no longer used as Angular calculates these automatically now.
- Compiler.getNgContentSelectors is deprecated. Use
ComponentFactory.ngContentSelectors instead.
2017-03-17 13:52:50 -05:00
Tobias Bosch
604546c287
refactor(upgrade): don’t rely on compiler internals ( #15214 )
...
Uses `Element.matches` to match selectors, instead
of copying the code from our compiler.
2017-03-17 13:52:34 -05:00
Chuck Jazdzewski
322bf7a0d5
Revert "refactor(upgrade): don’t rely on compiler internals"
...
This reverts commit 8e2c8b3e4d954a7a8908b513f4ec7a6eec903046.
2017-03-15 13:23:31 -07:00
Chuck Jazdzewski
c439742a54
Revert "feat(upgrade): use ComponentFactory.inputs/outputs/ngContentSelectors
"
...
This reverts commit a3e32fb7e14b5b131c90987559e446769d25d6b7.
2017-03-15 13:22:54 -07:00
Tobias Bosch
a3e32fb7e1
feat(upgrade): use ComponentFactory.inputs/outputs/ngContentSelectors
...
DEPRECATION:
- the arguments `inputs` / `outputs` / `ngContentSelectors` of `downgradeComponent`
are no longer used as Angular calculates these automatically now.
- Compiler.getNgContentSelectors is deprecated. Use
ComponentFactory.ngContentSelectors instead.
2017-03-15 11:42:12 -07:00
Tobias Bosch
8e2c8b3e4d
refactor(upgrade): don’t rely on compiler internals
...
Uses `Element.matches` to match selectors, instead
of copying the code from our compiler.
2017-03-15 11:42:12 -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