Skip to content

Commit d6c2dcc

Browse files
committed
convert internal properties into private
1 parent fb9247e commit d6c2dcc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/org/osflash/signals/SlotList.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ export class SlotList {
1212
*/
1313
public static NIL: SlotList = new SlotList(null, null);
1414

15+
// Although those variables are not const, they would be if AS3 would handle it correctly.
16+
private head: ISlot;
17+
private tail: SlotList;
18+
private nonEmpty: boolean = false;
19+
1520
/**
1621
* Creates and returns a new SlotList object.
1722
*
@@ -42,11 +47,6 @@ export class SlotList {
4247
}
4348
}
4449

45-
// Although those variables are not const, they would be if AS3 would handle it correctly.
46-
public head: ISlot;
47-
public tail: SlotList;
48-
public nonEmpty: boolean = false;
49-
5050
/**
5151
* The number of slots in the list.
5252
*/

0 commit comments

Comments
 (0)