parent
adb3813e85
commit
9179afb2a1
|
@ -846,7 +846,7 @@ class ElementInjectorInlineStrategy implements _ElementInjectorStrategy {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Strategy used by the `ElementInjector` when the number of bindings is 10 or less.
|
* Strategy used by the `ElementInjector` when the number of bindings is 10 or less.
|
||||||
* In such a case, inlining fields is benefitial for performances.
|
* In such a case, inlining fields is beneficial for performances.
|
||||||
*/
|
*/
|
||||||
class ElementInjectorDynamicStrategy implements _ElementInjectorStrategy {
|
class ElementInjectorDynamicStrategy implements _ElementInjectorStrategy {
|
||||||
constructor(public injectorStrategy: InjectorDynamicStrategy, public _ei: ElementInjector) {}
|
constructor(public injectorStrategy: InjectorDynamicStrategy, public _ei: ElementInjector) {}
|
||||||
|
|
Loading…
Reference in New Issue