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
1 changed files with 2 additions and 2 deletions

View File

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