-
Notifications
You must be signed in to change notification settings - Fork 26.5k
feat(compiler): allow to create ChangeDetectors from parsed templates #3950
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
Conversation
02a4a98
to
b6303e2
Compare
@@ -0,0 +1,223 @@ | |||
import {Injectable} from 'angular2/di'; | |||
|
|||
import {List, ListWrapper, MapWrapper} from 'angular2/src/core/facade/collection'; |
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.
Is List
needed ?
1e9d4da
to
af4865b
Compare
} | ||
var directiveMetadata = ast.directive; | ||
var changeDetectionMeta = directiveMetadata.changeDetection; | ||
this.directiveRecord = new DirectiveRecord({ |
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.
callbacks are missing:
callAfterContentInit: directiveMetadata.callAfterContentInit,
callAfterContentChecked: directiveMetadata.callAfterContentChecked,
callAfterViewInit: directiveMetadata.callAfterViewInit,
callAfterViewChecked: directiveMetadata.callAfterViewChecked,
callOnChanges: directiveMetadata.callOnChanges,
callDoCheck: directiveMetadata.callDoCheck,
callOnInit: directiveMetadata.callOnInit,
Change |
Reviewed with @vsavkin in person. |
af4865b
to
6031f3d
Compare
6031f3d
to
9323979
Compare
Merging PR #3950 on behalf of @tbosch to branch presubmit-tbosch-pr-3950. |
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. |
Part of #3605