fcc7ce225e
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() {} } |
||
---|---|---|
.. | ||
async_pipe_spec.ts | ||
date_pipe_spec.ts | ||
json_pipe_spec.ts | ||
lowercase_pipe_spec.ts | ||
number_pipe_spec.ts | ||
pipe_binding_spec.ts | ||
pipes_spec.ts | ||
slice_pipe_spec.ts | ||
uppercase_pipe_spec.ts |