docs(element_injector): fix comment for ElementInjectorDynamicStrategy

Closes #4414
This commit is contained in:
mgechev 2015-09-29 22:53:04 +03:00 committed by Misko Hevery
parent bc10dc3ed0
commit e3c9397717

View File

@ -903,8 +903,8 @@ class ElementInjectorInlineStrategy implements _ElementInjectorStrategy {
} }
/** /**
* Strategy used by the `ElementInjector` when the number of providers is 10 or less. * Strategy used by the `ElementInjector` when the number of bindings is 11 or more.
* In such a case, inlining fields is beneficial for performances. * In such a case, there are too many fields to inline (see ElementInjectorInlineStrategy).
*/ */
class ElementInjectorDynamicStrategy implements _ElementInjectorStrategy { class ElementInjectorDynamicStrategy implements _ElementInjectorStrategy {
constructor(public injectorStrategy: InjectorDynamicStrategy, public _ei: ElementInjector) {} constructor(public injectorStrategy: InjectorDynamicStrategy, public _ei: ElementInjector) {}