fix(view): fixed view instantiation to use the component template's change detector when creating BindingPropagationConfig

This commit is contained in:
vsavkin
2015-03-23 17:14:12 -07:00
parent c686e7ea30
commit f8e7a37c0d
2 changed files with 52 additions and 19 deletions

View File

@ -449,7 +449,7 @@ export class ProtoView {
lightDom = strategy.constructLightDom(view, childView, element);
strategy.attachTemplate(element, childView);
bindingPropagationConfig = new BindingPropagationConfig(changeDetector);
bindingPropagationConfig = new BindingPropagationConfig(childView.changeDetector);
ListWrapper.push(componentChildViews, childView);
}