angular-cn/modules/angular2/test/common
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
..
directives cleanup(tooling): move tooling to the browser platform and rename profile into instrumentation 2015-11-24 19:29:52 +00:00
forms refactor(lifecycle): prefix lifecycle methods with "ng" 2015-11-30 16:40:50 -08:00
pipes refactor(pipes): use angular lifecycle hooks instead of PipeOnDestroy 2015-11-30 16:40:50 -08:00
spies.dart refactor(core): move directives, pipes, and forms into common 2015-11-05 23:00:32 +00:00
spies.ts refactor(core): move directives, pipes, and forms into common 2015-11-05 23:00:32 +00:00