
committed by
Miško Hevery

parent
4415855683
commit
e916836261
@ -35,8 +35,8 @@ class RowHeightMode {
|
||||
encapsulation: ViewEncapsulation.NONE
|
||||
})
|
||||
export class MdGridList {
|
||||
/** List of tiles that are being rendered. */
|
||||
tiles: List<MdGridTile>;
|
||||
/** Array of tiles that are being rendered. */
|
||||
tiles: MdGridTile[];
|
||||
|
||||
/** Number of columns being rendered. */
|
||||
_cols: number;
|
||||
@ -302,7 +302,7 @@ export class MdGridTile {
|
||||
*/
|
||||
class TileCoordinator {
|
||||
// Tracking array (see class description).
|
||||
tracker: List<number>;
|
||||
tracker: number[];
|
||||
|
||||
// Index at which the search for the next gap will start.
|
||||
columnIndex: number;
|
||||
@ -311,9 +311,9 @@ class TileCoordinator {
|
||||
rowIndex: number;
|
||||
|
||||
// The computed (row, col) position of each tile (the output).
|
||||
positions: List<Position>;
|
||||
positions: Position[];
|
||||
|
||||
constructor(numColumns: number, tiles: List<MdGridTile>) {
|
||||
constructor(numColumns: number, tiles: MdGridTile[]) {
|
||||
this.columnIndex = 0;
|
||||
this.rowIndex = 0;
|
||||
|
||||
|
@ -59,8 +59,8 @@ export class MdRadioGroup {
|
||||
/** Dispatcher for coordinating radio unique-selection by name. */
|
||||
radioDispatcher: MdRadioDispatcher;
|
||||
|
||||
/** List of child radio buttons. */
|
||||
radios_: List<MdRadioButton>;
|
||||
/** Array of child radio buttons. */
|
||||
radios_: MdRadioButton[];
|
||||
|
||||
activedescendant: any;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import {List, ListWrapper} from 'angular2/src/core/facade/collection';
|
||||
import {ListWrapper} from 'angular2/src/core/facade/collection';
|
||||
|
||||
/**
|
||||
* Class for radio buttons to coordinate unique selection based on name.
|
||||
@ -6,7 +6,7 @@ import {List, ListWrapper} from 'angular2/src/core/facade/collection';
|
||||
*/
|
||||
export class MdRadioDispatcher {
|
||||
// TODO(jelbourn): Change this to TypeScript syntax when supported.
|
||||
listeners_: List<Function>;
|
||||
listeners_: Function[];
|
||||
|
||||
constructor() {
|
||||
this.listeners_ = [];
|
||||
|
Reference in New Issue
Block a user