Skip to content

Commit b318078

Browse files
committed
format jsdoc comments
1 parent 6207edf commit b318078

File tree

3 files changed

+19
-15
lines changed

3 files changed

+19
-15
lines changed

src/org/osflash/signals/IOnceSignal.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ export interface IOnceSignal {
99
* An optional array of classes defining the types of parameters sent to listeners.
1010
*/
1111
valueClasses: any[];
12-
/*function set valueClasses(value:Array):void;*/
1312

14-
/** The current number of listeners for the signal. */
13+
/**
14+
* The current number of listeners for the signal.
15+
*/
1516
numListeners: number;
1617

1718
/**

src/org/osflash/signals/ISlot.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ export interface ISlot {
1111
* The listener associated with this slot.
1212
*/
1313
listener: Function;
14-
/*function set listener(value:Function):void;*/
1514

1615
/**
1716
* Allows the ISlot to inject parameters when dispatching. The params will be at
@@ -23,7 +22,6 @@ export interface ISlot {
2322
* function handler(name:String, num:int):void{}
2423
*/
2524
params: any[];
26-
/*function set params(value:Array):void;*/
2725

2826
/**
2927
* Whether this slot is automatically removed after it has been used once.
@@ -41,7 +39,6 @@ export interface ISlot {
4139
* Whether the listener is called on execution. Defaults to true.
4240
*/
4341
enabled: boolean;
44-
/*function set enabled(value:Boolean):void;*/
4542

4643
/**
4744
* Executes a listener without arguments.
Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,29 @@
11
import { IPrioritySignal } from "../IPrioritySignal";
22

33
export interface IEvent {
4-
/** The object that originally dispatched the event.
5-
* When dispatched from an signal, the target is the object containing the signal. */
4+
/**
5+
* The object that originally dispatched the event.
6+
* When dispatched from an signal, the target is the object containing the signal.
7+
*/
68
target: Object;
7-
/*function set target(value:Object):void;*/
89

9-
/** The object that added the listener for the event. */
10+
/**
11+
* The object that added the listener for the event.
12+
*/
1013
currentTarget: Object;
11-
/*function set currentTarget(value:Object):void;*/
1214

13-
/** The signal that dispatched the event. */
15+
/**
16+
* The signal that dispatched the event.
17+
*/
1418
signal: IPrioritySignal;
15-
/*function set signal(value:IPrioritySignal):void;*/
1619

17-
/** Indicates whether the event is a bubbling event. */
20+
/**
21+
* Indicates whether the event is a bubbling event.
22+
*/
1823
bubbles: boolean;
19-
/*function set bubbles(value:Boolean):void;*/
2024

21-
/** Returns a new copy of the instance. */
25+
/**
26+
* Returns a new copy of the instance.
27+
*/
2228
clone(): IEvent;
2329
}

0 commit comments

Comments
 (0)