refactor(core): remove @Injectable as only classes that are instantiated via DI need it

This commit is contained in:
vsavkin 2016-03-16 11:47:55 -07:00 committed by Victor Savkin
parent d23b973e7a
commit bd8a4215dd
3 changed files with 0 additions and 3 deletions

View File

@ -31,7 +31,6 @@ export interface IterableDifferFactory {
/**
* A repository of different iterable diffing strategies used by NgFor, NgClass, and others.
*/
@Injectable()
@CONST()
export class IterableDiffers {
constructor(public factories: IterableDifferFactory[]) {}

View File

@ -23,7 +23,6 @@ export interface KeyValueDifferFactory {
/**
* A repository of different Map diffing strategies used by NgClass, NgStyle, and others.
*/
@Injectable()
@CONST()
export class KeyValueDiffers {
constructor(public factories: KeyValueDifferFactory[]) {}

View File

@ -59,7 +59,6 @@ class UIMessageBusSource extends IsolateMessageBusSource {
* Wrapper class that exposes the Isolate
* and underlying {@link MessageBus} for lower level message passing.
*/
@Injectable()
class WebWorkerInstance {
Isolate worker;
MessageBus bus;