perf(change detection): Assign this.locals in change detector ctor

Set `this.locals = null;` in the ctor of generated change detector
classes to prevent the class "shape" from changing on `hydrate`.
This commit is contained in:
Tim Blasi 2015-04-02 15:48:46 -07:00
parent 894a0f0ee5
commit a6736ff9f2
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ ${DISPATCHER_ACCESSOR} = dispatcher;
${PIPE_REGISTRY_ACCESSOR} = pipeRegistry;
${PROTOS_ACCESSOR} = protos;
${MEMENTOS_ACCESSOR} = directiveMementos;
${LOCALS_ACCESSOR} = null;
${fieldsDefinitions}
}