angular-cn/modules/angular2/test/common/pipes
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
..
async_pipe_spec.ts refactor(pipes): use angular lifecycle hooks instead of PipeOnDestroy 2015-11-30 16:40:50 -08:00
date_pipe_spec.ts cleanup(core): stop reexporting angular2/common from angular2/core 2015-11-19 19:54:27 +00:00
json_pipe_spec.ts cleanup(core): stop reexporting angular2/common from angular2/core 2015-11-19 19:54:27 +00:00
lowercase_pipe_spec.ts cleanup(core): stop reexporting angular2/common from angular2/core 2015-11-19 19:54:27 +00:00
number_pipe_spec.ts cleanup(core): stop reexporting angular2/common from angular2/core 2015-11-19 19:54:27 +00:00
pipe_binding_spec.ts refactor(core): move directives, pipes, and forms into common 2015-11-05 23:00:32 +00:00
pipes_spec.ts refactor(pipes): use angular lifecycle hooks instead of PipeOnDestroy 2015-11-30 16:40:50 -08:00
slice_pipe_spec.ts cleanup(core): stop reexporting angular2/common from angular2/core 2015-11-19 19:54:27 +00:00
uppercase_pipe_spec.ts cleanup(core): stop reexporting angular2/common from angular2/core 2015-11-19 19:54:27 +00:00