feat(change_detection): add support for pipes in the template
This commit is contained in:
@ -103,7 +103,7 @@ function setUpChangeDetection(changeDetection:ChangeDetection, iterations) {
|
||||
var parser = new Parser(new Lexer());
|
||||
|
||||
var parentProto = changeDetection.createProtoChangeDetector('parent');
|
||||
var parentCd = parentProto.instantiate(dispatcher, MapWrapper.create());
|
||||
var parentCd = parentProto.instantiate(dispatcher);
|
||||
|
||||
var proto = changeDetection.createProtoChangeDetector("proto");
|
||||
var astWithSource = [
|
||||
@ -127,7 +127,7 @@ function setUpChangeDetection(changeDetection:ChangeDetection, iterations) {
|
||||
for (var j = 0; j < 10; ++j) {
|
||||
obj.setField(j, i);
|
||||
}
|
||||
var cd = proto.instantiate(dispatcher, null);
|
||||
var cd = proto.instantiate(dispatcher);
|
||||
cd.setContext(obj);
|
||||
parentCd.addChild(cd);
|
||||
}
|
||||
|
Reference in New Issue
Block a user