angular-cn/modules/angular2/test/core/change_detection
Jeff Cross fcc7ce225e refactor(pipes): use angular lifecycle hooks instead of PipeOnDestroy
BREAKING CHANGE:
Previously, pipes that wanted to be notified when they were destroyed
would implement the PipeOnDestroy interface and name the callback
`onDestroy`. This change removes the PipeOnDestroy interface and
instead uses Angular's lifecycle interface `OnDestroy`, with the
`ngOnDestroy` method.

Before:
```
import {Pipe, PipeOnDestroy} from 'angular2/angular2';
@Pipe({pure: false})
export class MyPipe implements PipeOnDestroy {
  onDestroy() {}
}
```

After:
import {Pipe, OnDestroy} from 'angular2/angular2';
@Pipe({pure: false})
export class MyPipe implements PipeOnDestroy {
  ngOnDestroy() {}
}
2015-11-30 16:40:50 -08:00
..
differs refactor(core): move facades out of core 2015-11-07 01:36:06 +00:00
generated chore: move core modules into core directory 2015-08-25 15:33:22 -07:00
generator refactor(compiler): make all commands const 2015-11-09 10:59:08 -08:00
parser fix(parser): do not crash on untokenizable quote prefixes 2015-11-25 23:43:52 +00:00
change_detector_config.ts refactor(core): move facades out of core 2015-11-07 01:36:06 +00:00
change_detector_ref_spec.ts refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
change_detector_spec.ts refactor(pipes): use angular lifecycle hooks instead of PipeOnDestroy 2015-11-30 16:40:50 -08:00
change_detector_spec_util.dart refactor(dart): Format Dart code 2015-10-20 17:39:37 +00:00
change_detector_spec_util.ts chore: move core modules into core directory 2015-08-25 15:33:22 -07:00
coalesce_spec.ts refactor(lifecycle): prefix lifecycle methods with "ng" 2015-11-30 16:40:50 -08:00
iterable.dart chore: move core modules into core directory 2015-08-25 15:33:22 -07:00
iterable.ts refactor(core): move facades out of core 2015-11-07 01:36:06 +00:00
proto_record_builder_spec.ts refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
proto_record_spec.ts refactor(core): move facades out of core 2015-11-07 01:36:06 +00:00
util.ts refactor(core): move facades out of core 2015-11-07 01:36:06 +00:00