mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
BREAKING CHANGE
- Pipe factories have been removed.
- PIpe names to pipe implementations are 1-to-1 instead of 1-to-*
Before:
class DateFormatter {
transform(date, args){}
}
class DateFormatterFactory {
supporst(obj) { return true; }
create(cdRef) { return new DateFormatter(); }
}
new Pipes({date: [new DateFormatterFactory()]})
After
class DateFormatter {
transform(date, args){}
}
new Pipes({date: DateFormatter})
|
||
|---|---|---|
| .. | ||
| differs | ||
| generated | ||
| generator | ||
| parser | ||
| pipes | ||
| change_detection_spec.ts | ||
| change_detector_config.ts | ||
| change_detector_spec.ts | ||
| coalesce_spec.ts | ||
| iterable.dart | ||
| iterable.ts | ||
| proto_record_builder_spec.ts | ||
| proto_record_spec.ts | ||
| util.ts | ||