refactor(ChangeDetector): use View/ShadowDom & Content/LightDom consistently

This commit is contained in:
Victor Berchet
2015-10-15 15:57:16 -07:00
parent 5d9b1e90dc
commit c56efc0c5f
7 changed files with 43 additions and 44 deletions

View File

@ -285,7 +285,7 @@ function setUpChangeDetection(protoChangeDetectorFactory: Function, iterations,
for (var i = 0; i < iterations; ++i) {
var cd = proto.instantiate(dispatcher);
cd.hydrate(object, null, new FakeDirectives(targetObj), null);
parentCd.addChild(cd);
parentCd.addContentChild(cd);
}
return parentCd;
}