File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
modules/benchmarks/src/naive_infinite_scroll Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change 11import { MapWrapper } from 'angular2/src/facade/collection' ;
22
33import { bootstrap } from 'angular2/bootstrap' ;
4- import { reflector } from 'angular2/src/reflection/reflection' ;
54
65import { App } from './app' ;
76
@@ -10,19 +9,8 @@ import {bind} from 'angular2/di';
109
1110export function main ( ) {
1211 bootstrap ( App , createBindings ( ) ) ;
13- setupReflector ( ) ;
1412}
1513
1614function 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- }
You can’t perform that action at this time.
0 commit comments