refactor(benchmarks): Remove unnecessary style setter

Remove `style` setter that is no longer used / necessary.

Closes #3375
This commit is contained in:
Tim Blasi 2015-07-29 15:34:56 -07:00 committed by Tobias Bosch
parent 2768158eaf
commit 9e7363f686
1 changed files with 0 additions and 12 deletions

View File

@ -1,7 +1,6 @@
import {MapWrapper} from 'angular2/src/facade/collection';
import {bootstrap} from 'angular2/bootstrap';
import {reflector} from 'angular2/src/reflection/reflection';
import {App} from './app';
@ -10,19 +9,8 @@ import {bind} from 'angular2/di';
export function main() {
bootstrap(App, createBindings());
setupReflector();
}
function createBindings(): List {
return [bind(APP_VIEW_POOL_CAPACITY).toValue(100000)];
}
export function setupReflector() {
// TODO(kegluneq): Generate this.
reflector.registerSetters({
'style': (o, m) => {
// HACK
MapWrapper.forEach(m, function(v, k) { o.style.setProperty(k, v); });
}
});
}