
committed by
Miško Hevery

parent
4415855683
commit
e916836261
@ -1,7 +1,6 @@
|
||||
import {isPresent} from 'angular2/src/core/facade/lang';
|
||||
import {getIntParameter, bindAction} from 'angular2/src/test_lib/benchmark_util';
|
||||
import {TimerWrapper} from 'angular2/src/core/facade/async';
|
||||
import {List, ListWrapper} from 'angular2/src/core/facade/collection';
|
||||
import {ScrollAreaComponent} from './scroll_area';
|
||||
import {NgIf, NgFor} from 'angular2/directives';
|
||||
import {DOM} from 'angular2/src/core/dom/dom_adapter';
|
||||
@ -25,7 +24,7 @@ import {Component, Directive, View} from 'angular2/angular2';
|
||||
</div>`
|
||||
})
|
||||
export class App {
|
||||
scrollAreas: List<number>;
|
||||
scrollAreas: number[];
|
||||
iterationCount: number;
|
||||
scrollIncrement: number;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import {List, ListWrapper, Map} from 'angular2/src/core/facade/collection';
|
||||
import {ListWrapper, Map} from 'angular2/src/core/facade/collection';
|
||||
import {Company, Opportunity, Offering, Account, CustomDate, STATUS_LIST} from './common';
|
||||
import {NgFor} from 'angular2/directives';
|
||||
|
||||
@ -52,7 +52,7 @@ export class Stage {
|
||||
})
|
||||
export class StageButtonsComponent extends HasStyle {
|
||||
_offering: Offering;
|
||||
stages: List<Stage>;
|
||||
stages: Stage[];
|
||||
|
||||
get offering(): Offering { return this._offering; }
|
||||
|
||||
|
@ -9,6 +9,6 @@ export function main() {
|
||||
bootstrap(App, createBindings());
|
||||
}
|
||||
|
||||
function createBindings(): List<any> {
|
||||
function createBindings(): any[] {
|
||||
return [bind(APP_VIEW_POOL_CAPACITY).toValue(100000)];
|
||||
}
|
||||
|
@ -1,5 +1,4 @@
|
||||
import {StringWrapper} from 'angular2/src/core/facade/lang';
|
||||
import {List, ListWrapper} from 'angular2/src/core/facade/collection';
|
||||
import {
|
||||
CustomDate,
|
||||
Offering,
|
||||
@ -10,7 +9,7 @@ import {
|
||||
AAT_STATUS_LIST
|
||||
} from './common';
|
||||
|
||||
export function generateOfferings(count: number): List<Offering> {
|
||||
export function generateOfferings(count: number): Offering[] {
|
||||
var res = [];
|
||||
for (var i = 0; i < count; i++) {
|
||||
res.push(generateOffering(i));
|
||||
|
@ -38,8 +38,8 @@ import {NgFor} from 'angular2/directives';
|
||||
</div>`
|
||||
})
|
||||
export class ScrollAreaComponent {
|
||||
_fullList: List<Offering>;
|
||||
visibleItems: List<Offering>;
|
||||
_fullList: Offering[];
|
||||
visibleItems: Offering[];
|
||||
|
||||
viewPortHeight: number;
|
||||
paddingDiv;
|
||||
|
Reference in New Issue
Block a user