-
Notifications
You must be signed in to change notification settings - Fork 25.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(compiler): integrate compiler with view engine - main integratio… …n tests work #14284
Conversation
38caaaa
to
6ffd12c
Compare
provide: LOCALE_ID, | ||
useFactory: _localeFactory, | ||
deps: [[new Inject(LOCALE_ID), new Optional(), new SkipSelf()]] | ||
}, | ||
{provide: APP_INITIALIZER, useValue: _initViewEngine, multi: true} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add ,
at end
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
|
||
constructor( | ||
public viewContext: ProviderViewContext, private _parent: ProviderElementContext, | ||
private _isViewRoot: boolean, private _directiveAsts: DirectiveAst[], attrs: AttrAst[], | ||
refs: ReferenceAst[], private _sourceSpan: ParseSourceSpan) { | ||
private _refs: ReferenceAst[], private _sourceSpan: ParseSourceSpan) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make a var again
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -241,6 +241,17 @@ export enum PropertyBindingType { | |||
Animation | |||
} | |||
|
|||
export interface QueryId { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add comment: Only needs to be unique compared to all queries of children of an element.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -70,7 +70,7 @@ export function _providerDef( | |||
outputDefs.push({propName, eventName: outputs[propName]}); | |||
} | |||
} | |||
const depDefs: DepDef[] = deps.map(value => { | |||
let depDefs: DepDef[] = deps.map(value => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
…n tests work Part of angular#14013
6ffd12c
to
29b27d7
Compare
…n tests work (angular#14284) Part of angular#14013 PR Close angular#14284
…n tests work (angular#14284) Part of angular#14013 PR Close angular#14284
…n tests work (angular#14284) Part of angular#14013 PR Close angular#14284
…n tests work (angular#14284) Part of angular#14013 PR Close angular#14284
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
First commit is from #14237