feat(di): rename Binding into Provider

Closes #4416

Closes #4654
This commit is contained in:
vsavkin
2015-10-10 22:11:13 -07:00
committed by Victor Savkin
parent 7c6130c2c5
commit 1eb0162cde
190 changed files with 2071 additions and 1816 deletions

View File

@ -13,6 +13,7 @@ import {
Directive,
View,
bind,
provide,
NgFor,
NgSwitch,
NgSwitchWhen,
@ -36,9 +37,9 @@ function _createBindings() {
return [
bind(BENCHMARK_TYPE)
.toValue(getStringParameter('benchmarkType')),
bind(LARGETABLE_ROWS).toValue(getIntParameter('rows')),
bind(LARGETABLE_COLS).toValue(getIntParameter('columns')),
bind(APP_VIEW_POOL_CAPACITY).toValue(viewCacheCapacity)
provide(LARGETABLE_ROWS, {asValue: getIntParameter('rows')}),
provide(LARGETABLE_COLS, {asValue: getIntParameter('columns')}),
provide(APP_VIEW_POOL_CAPACITY, {asValue: viewCacheCapacity})
];
}