We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2768158 commit 9e7363fCopy full SHA for 9e7363f
1 file changed
modules/benchmarks/src/naive_infinite_scroll/index.ts
@@ -1,7 +1,6 @@
1
import {MapWrapper} from 'angular2/src/facade/collection';
2
3
import {bootstrap} from 'angular2/bootstrap';
4
-import {reflector} from 'angular2/src/reflection/reflection';
5
6
import {App} from './app';
7
@@ -10,19 +9,8 @@ import {bind} from 'angular2/di';
10
9
11
export function main() {
12
bootstrap(App, createBindings());
13
- setupReflector();
14
}
15
16
function createBindings(): List {
17
return [bind(APP_VIEW_POOL_CAPACITY).toValue(100000)];
18
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