Skip to content

Commit 9e7363f

Browse files
Tim Blasitbosch
authored andcommitted
refactor(benchmarks): Remove unnecessary style setter
Remove `style` setter that is no longer used / necessary. Closes angular#3375
1 parent 2768158 commit 9e7363f

File tree

1 file changed

+0
-12
lines changed
  • modules/benchmarks/src/naive_infinite_scroll

1 file changed

+0
-12
lines changed
Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import {MapWrapper} from 'angular2/src/facade/collection';
22

33
import {bootstrap} from 'angular2/bootstrap';
4-
import {reflector} from 'angular2/src/reflection/reflection';
54

65
import {App} from './app';
76

@@ -10,19 +9,8 @@ import {bind} from 'angular2/di';
109

1110
export function main() {
1211
bootstrap(App, createBindings());
13-
setupReflector();
1412
}
1513

1614
function createBindings(): List {
1715
return [bind(APP_VIEW_POOL_CAPACITY).toValue(100000)];
1816
}
19-
20-
export function setupReflector() {
21-
// TODO(kegluneq): Generate this.
22-
reflector.registerSetters({
23-
'style': (o, m) => {
24-
// HACK
25-
MapWrapper.forEach(m, function(v, k) { o.style.setProperty(k, v); });
26-
}
27-
});
28-
}

0 commit comments

Comments
 (0)