We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e3bf39 commit e0fbd4bCopy full SHA for e0fbd4b
modules/angular2/src/change_detection/change_detection_jit_generator.ts
@@ -285,7 +285,7 @@ export class ChangeDetectorJITGenerator {
285
`;
286
287
if (r.isPureFunction()) {
288
- var condition = `${this._changeNames.join(" || ")}`;
+ var condition = r.args.map((a) => this._changeNames[a]).join(" || ");
289
return `if (${condition}) { ${check} }`;
290
} else {
291
return check;
0 commit comments