refactor(core): remove @Injectable as only classes that are instantiated via DI need it
This commit is contained in:
parent
d23b973e7a
commit
bd8a4215dd
@ -31,7 +31,6 @@ export interface IterableDifferFactory {
|
|||||||
/**
|
/**
|
||||||
* A repository of different iterable diffing strategies used by NgFor, NgClass, and others.
|
* A repository of different iterable diffing strategies used by NgFor, NgClass, and others.
|
||||||
*/
|
*/
|
||||||
@Injectable()
|
|
||||||
@CONST()
|
@CONST()
|
||||||
export class IterableDiffers {
|
export class IterableDiffers {
|
||||||
constructor(public factories: IterableDifferFactory[]) {}
|
constructor(public factories: IterableDifferFactory[]) {}
|
||||||
|
@ -23,7 +23,6 @@ export interface KeyValueDifferFactory {
|
|||||||
/**
|
/**
|
||||||
* A repository of different Map diffing strategies used by NgClass, NgStyle, and others.
|
* A repository of different Map diffing strategies used by NgClass, NgStyle, and others.
|
||||||
*/
|
*/
|
||||||
@Injectable()
|
|
||||||
@CONST()
|
@CONST()
|
||||||
export class KeyValueDiffers {
|
export class KeyValueDiffers {
|
||||||
constructor(public factories: KeyValueDifferFactory[]) {}
|
constructor(public factories: KeyValueDifferFactory[]) {}
|
||||||
|
@ -59,7 +59,6 @@ class UIMessageBusSource extends IsolateMessageBusSource {
|
|||||||
* Wrapper class that exposes the Isolate
|
* Wrapper class that exposes the Isolate
|
||||||
* and underlying {@link MessageBus} for lower level message passing.
|
* and underlying {@link MessageBus} for lower level message passing.
|
||||||
*/
|
*/
|
||||||
@Injectable()
|
|
||||||
class WebWorkerInstance {
|
class WebWorkerInstance {
|
||||||
Isolate worker;
|
Isolate worker;
|
||||||
MessageBus bus;
|
MessageBus bus;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user